The world’s first unified interface for agent harnessesOpen Source4.4kPowered by UHP

API reference

Read, cancel or delete one response by its id.

Poll a background task, read what it was given, stop it, or delete it.

Endpoints

Response endpoints
GET    /v1/responses/{id}                  the response, with its status and output
GET    /v1/responses/{id}/input_items      what it was given; limit (20 by default) and order (asc or desc)
POST   /v1/responses/{id}/cancel           stop it while it runs
DELETE /v1/responses/{id}                  delete it

Polling a background task

A task started with "background": true returns at once. Read the response until its status leaves in_progress for completed, failed, incomplete or cancelled, waiting a few seconds between reads, or stream the task instead when someone is watching.

Ready to run this against a live workspace?Create API key