Skip to main content
POST
/
api
/
v2
/
sessions
/
{id}
/
resume
Resume a session
curl --request POST \
  --url https://agp.eu.hcompany.ai/api/v2/sessions/{id}/resume \
  --header 'Authorization: Bearer <token>'
Resumes a previously paused session. The agent picks up exactly where it left off. Returns 202 Accepted. The resume command is delivered asynchronously.

Path parameters

id
string
required
The session ID.

Examples

curl -X POST https://agp.eu.hcompany.ai/api/v2/sessions/$SESSION_ID/resume \
  -H "Authorization: Bearer $H_API_KEY"

Notes

  • Resuming a session that is already running is a no-op (no error).
  • You can also resume a paused session implicitly by sending a message: the platform auto-resumes before delivering the message.

Errors

StatusCause
404Session not found, or you don’t have access.