v1

latestOpenAPI 3.0.02026-07-174565114.3 KB
threads

Generate and set a thread's name

Automatically generates and sets a name for the thread as a summary based on its messages.

post/threads/{id}/generate-name

Path parameters

idstring required
Example:thread_123456789

ID of the thread to generate name for

Query parameters

contextKeystring

Unique user identifier for the thread

Response

Thread name generated successfully

metadataobject
projectIdstring required
generationStage'IDLE' | 'CHOOSING_COMPONENT' | 'FETCHING_CONTEXT' | 'HYDRATING_COMPONENT' | 'STREAMING_RESPONSE' | 'COMPLETE' | 'ERROR' | 'CANCELLED'
statusMessagestring
namestring
idstring required
createdAtstring date-time required
updatedAtstring date-time required