Skip to navigation

Append Turn

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_idstringRequired
session_idstringRequired

Request

This endpoint expects an object.
idempotency_keystringRequired1-128 characters
inputmap from strings to anyRequired
capability_grantslist of stringsOptionalDefaults to []
compute_attachment_idstring or nullOptional1-128 characters
delivery_modeenumOptionalDefaults to steer
Allowed values:
file_idslist of stringsOptionalDefaults to []
pinned_generation_idstring or nullOptional1-128 characters

Set a release pin for new turns; explicit null resumes following promotions. Omit to preserve policy.

product_contextmap from strings to anyOptional
run_modeenumOptionalDefaults to interactive
Allowed values:
tool_provider_refslist of maps from strings to anyOptionalDefaults to []

Response

Successful Response
inputobject
runobject

Errors

401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
503
Service Unavailable Error