Create trace thread
Create a thread for traces.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
THREAD_KIND_UNSPECIFIED, THREAD_KIND_CONVERSATION, THREAD_KIND_CODING_AGENT Response
OK
Internal thread record ID.
Client-provided thread identifier used to group related traces.
Total thread duration in milliseconds.
Contact IDs associated with the thread.
Number of traces associated with the thread.
Tags used to categorize the thread.
Display title. Does not replace external_id and is not used to group traces.
Originating coding assistant or client, such as claude-code, cursor, or codex.
Canonical git repository for a coding-agent thread, such as github.com/org/repo.
Whether this thread is a conversation or a coding-agent chat.
THREAD_KIND_UNSPECIFIED, THREAD_KIND_CONVERSATION, THREAD_KIND_CODING_AGENT