Agentic DevelopmentThreads

Create a thread

Create a thread in a project. A thread is the container the team chat and, later, the agent work hang off.

POST
/v1/threads

Create a thread in a project. A thread is the container the team chat and, later, the agent work hang off.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

org*string

Organization the project belongs to

project*string

Project the thread lives in

sharing?string

Who beyond you may reach it. private means nobody else can open its chat.

Default"private"

Value in

  • "private"
  • "readable"
  • "writable"

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/v1/threads" \  -H "Content-Type: application/json" \  -d '{    "org": "string",    "project": "string"  }'
{  "created_at": "string",  "id": "string",  "project": {    "id": "string",    "name": "string",    "org": "string"  },  "sharing": "string"}