Skip to navigation

Get an agent run

Poll a run until status is completed or failed. Completed runs include text and, when you passed a schema, structured. Failed runs include error with a code and message.

Limited to 120 requests per minute per user.

Authentication

AuthorizationBearer

An API key from Settings → API, prefixed sg_live_.

Path parameters

idstringRequired

Response

The run.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
429
Too Many Requests Error
500
Internal Server Error