v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Threads

Create a session thread

Create a session thread. Accepts a JSON request body when defined and returns the resulting resource or action status.

post/api/projects/{projectId}/sessions/{sessionId}/threads

Path parameters

projectIdstring required

Project identifier used to scope the request.

sessionIdstring required

Session identifier within the project.

Request body

idstring required

Stable identifier for the object.

namestring

Human-readable name.

phasestring

Session lifecycle phase; "review" when ready for review.

Response

Thread

idstring required

Stable identifier for the object.

namestring required

Human-readable name.

lastMessagestring

last Message value for the thread object.

errorMessagestring

Detailed error message, when present.

modelstring

model value for the thread object.

reasoningstring

reasoning value for the thread object.

serviceTierstring

service Tier value for the thread object.

phasestring

Session lifecycle phase; "review" when ready for review.

statestring

OAuth state correlation value.

pendingQuestionboolean

pending Question value for the thread object.

activeCommandstring

active Command value for the thread object.

pendingboolean

pending value for the thread object.

{"stackTrail":"components:schemas:Thread:properties:metadata","oasType":"schema","type":"unknown","description":"metadata value for the thread object."}