How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

H Company Sessions API

The Sessions API from H Company — 15 operation(s) for sessions.

H Company Sessions API is one of 10 APIs that H Company publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sessions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 18 operations across 15 paths, and defines 63 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 2 base URLs: https://agp.eu.hcompany.ai, https://agp.hcompany.ai.

18 operations 15 paths 63 schemas 2 DELETE7 GET8 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://agp.eu.hcompany.ai/api/v2
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

H Company Sessions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (HTTPBearer).

Paths & Operations 18

Across 15 paths, the API surfaces 18 operations — 2 DELETE, 7 GET, 8 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Sessions 18
POST
/api/v2/sessions
Create Session
create_session_api_v2_sessions_post 1 param body → 201422
GET
/api/v2/sessions
List Sessions
list_sessions_api_v2_sessions_get 14 params → 200422
GET
/api/v2/sessions/quota
Get Session Quota
get_session_quota_api_v2_sessions_quota_get → 200422
GET
/api/v2/sessions/{id}
Get Session
get_session_api_v2_sessions__id__get 1 param → 200422
DELETE
/api/v2/sessions/{id}
Cancel Session
cancel_session_api_v2_sessions__id__delete 1 param → 204422
GET
/api/v2/sessions/{id}/status
Get Session Status
get_session_status_api_v2_sessions__id__status_get 1 param → 200422
POST
/api/v2/sessions/{id}/messages
Send Session Messages
send_session_messages_api_v2_sessions__id__messages_post 1 param body → 202422
POST
/api/v2/sessions/{id}/tool_results
Send Session Tool Results
send_session_tool_results_api_v2_sessions__id__tool_results_post 1 param body → 202422
POST
/api/v2/sessions/{id}/pause
Pause Session
pause_session_api_v2_sessions__id__pause_post 1 param → 202422
POST
/api/v2/sessions/{id}/resume
Resume Session
resume_session_api_v2_sessions__id__resume_post 1 param → 202422
POST
/api/v2/sessions/{id}/force_answer
Force Session Answer
force_session_answer_api_v2_sessions__id__force_answer_post 1 param → 202422
GET
/api/v2/sessions/{id}/changes
Get Session Changes
get_session_changes_api_v2_sessions__id__changes_get 5 params → 200204422
GET
/api/v2/sessions/{id}/events
List Session Events
list_session_events_api_v2_sessions__id__events_get 5 params → 200422
POST
/api/v2/sessions/{id}/feedback
Submit Session Feedback
submit_session_feedback_api_v2_sessions__id__feedback_post 1 param body → 204422
PUT
/api/v2/sessions/{id}/events/{event_index}/feedback
Submit Event Feedback
submit_event_feedback_api_v2_sessions__id__events__event_index__feedback_put 2 params body → 204422
POST
/api/v2/sessions/{id}/share
Share Session
share_session_api_v2_sessions__id__share_post 1 param → 200422
DELETE
/api/v2/sessions/{id}/share
Unshare Session
unshare_session_api_v2_sessions__id__share_delete 1 param → 204422
GET
/api/v2/sessions/{id}/resources/{bucket}/{key}
Get Session Resource
get_session_resource_api_v2_sessions__id__resources__bucket___key__get 3 params → 3022004044XX

Schemas 63

The contract defines 63 schemas that model the data the API accepts and returns. The most detailed are Browser (12 properties), SessionRequest (11 properties), Agent (9 properties), SessionChanges (9 properties). Each schema is shown below with its type and property counts.

AnswerOutcome
string
Agent's self-assessment of how the task concluded, reported with the final answer.
Session
object
Full session envelope: original request + live status.
8 properties 4 required
ErrorEvent
object
Recoverable error raised while running the agent loop.
4 properties 2 required
FlowEvent
object
Run-loop control transition (pause, resume, stop, ...).
3 properties 2 required
ToolResultBatch
object
Batch of custom tool results.
2 properties 1 required
Agent
object
Declarative agent definition.
9 properties 3 required
Page_SessionEvent_
object
3 properties 3 required
ManagedProxySelection
object
Request for an H-managed proxy, provisioned per session. Describes intent only — pool, country, stickiness — never credentials; H resolves and injects those wh…
3 properties
ToolRequest
object
Tool invocation proposed by the policy.
3 properties 1 required
SessionStatus
object
GET /api/v2/sessions/{id}/status response.
7 properties 1 required
BrowserVisualMode
object
Act on screenshots by viewport coordinates.
4 properties
Skill
object
A named, reusable instruction an agent can draw on during a session.
5 properties 3 required
LiveViewUrlData
object
1 property 1 required
PolicyEvent
object
One policy (LLM) step: the model output plus the tool requests extracted from it.
5 properties
ShareLink
object
Public share URL for a session.
1 property 1 required
SessionEvent
AgentStartedData
object
Empty payload.
RequestStartData
object
Empty payload.
RequestStartDispatchedData
object
1 property 1 required
MetricsUpdateEvent
object
Rolled-up usage and cost metrics for the session.
3 properties 3 required
Metrics
object
Rolled-up usage and cost for a session.
6 properties
ModelCost
object
Token usage and cost for a single model.
8 properties 4 required
JsonValue
BrowserNetwork
object
Network egress settings for a remote browser session.
2 properties
MetricsUpdateData
object
1 property 1 required
ValidationError
object
5 properties 3 required
QuotaStatus
object
Quota status.
4 properties 4 required
ActiveStateChangeEvent
object
The agent switched between running, idle and awaiting custom tool results.
3 properties 3 required
AgentCompletionEvent
object
The agent run completed.
3 properties 3 required
AgentStartedEvent
object
The agent process started.
3 properties 3 required
Browser
object
A web browser the agent navigates and acts on.
12 properties 1 required
ObservationEvent
object
What the agent perceived this step: optional text, screenshot and environment metadata.
5 properties
LiveViewUrlEvent
object
A live view URL became available.
3 properties 3 required
AgentCompletionData
object
1 property 1 required
AgentRunStatusChangeData
object
1 property 1 required
Environment
Desktop
object
A desktop the agent controls via mouse, keyboard, and screenshots.
4 properties 2 required
AgentErrorEvent
object
The agent run failed.
3 properties 3 required
AnswerEvent
object
Agent's final answer for the current task.
3 properties 1 required
HTTPValidationError
object
1 property
AgentRunStatusChangeEvent
object
The run status changed.
3 properties 3 required
UserMessageBatch
object
Batch of user messages.
2 properties 1 required
SessionChanges
object
Typed view of TrajectoryChanges for Agent API session endpoints.
9 properties 1 required
TrajectoryEvent
object
Event from a trajectory. Unified from agpclient and agentplatform. Uses the richer agentplatform version with screenshot serialization. Events represent indivi…
3 properties 3 required
SessionSummary
object
Flat projection for session listings, including child rosters via ?parentsessionid=.
9 properties 3 required
SessionErrorCode
string
Machine-readable category of a terminal session failure.
RequestStartDispatchedEvent
object
The start request was dispatched to a runner.
3 properties 3 required
Feedback
object
Feedback on the semantic success of the trajectory.
2 properties 1 required
ToolResultEvent
object
Result of executing one tool request.
3 properties 1 required
MessageEvent
object
Message exchanged with the agent (user, system or subagent).
3 properties 1 required
UserMessageEvent
object
The user is sending a message to an active agent.
4 properties 1 required
RequestStartEvent
object
The platform requested the agent to start.
3 properties 3 required
Page_SessionSummary_
object
3 properties 3 required
SessionRequest
object
POST /api/v2/sessions body.
11 properties 1 required
ActiveStateChangeData
object
2 properties 1 required
TrajectoryStatus
string
State of a session/trajectory. Lifecycle:: QUEUED → PENDING → RUNNING → {COMPLETED, FAILED, TIMEDOUT, INTERRUPTED} | | ↑ ↑ ↑ | | | | └───→ IDLE (interactive: a…
ProxyPool
string
The kind of upstream IPs a managed proxy draws from.
ModelUsage
object
Per-model token usage.
4 properties 4 required
BrowserTextMode
object
Read-only markdown with URL navigation, no screenshots.
2 properties
ImageContent
object
Image payload: url for platform-served screenshots, base64 for inline images.
3 properties 2 required
ToolDefinition
object
Contract for a tool executed by the API client, not by the agent runtime. The agent emits a tool call matching inputschema, pauses, and resumes once the client…
3 properties 2 required
AgentErrorData
object
3 properties 1 required
AgentEvent
object
Event emitted by the agent loop itself; data is discriminated by kind.
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

h-company-sessions-api-openapi.yml Raw ↑

Other APIs H Company publishes across the network.

H Company Holo Models API
H Company Agents API
H Company Browser Profiles API
H Company Environments API
H Company quota API
H Company Schedules API
H Company Skills API
H Company Vaults API
H Company Webhooks API
Where this information came from

This is an independent, third-party profile of H Company Sessions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.