Skip to main content
POST
/
github
/
tracer
Create Tracer Job
curl --request POST \
  --url https://apigcp.trynia.ai/v2/github/tracer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "repositories": [
    "<string>"
  ],
  "context": "<string>",
  "model": "claude-haiku-4-5-20251001",
  "mode": "tracer-fast"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
query
string
required

Research question

Required string length: 1 - 10000
repositories
string[] | null

Repositories in owner/repo format

context
string | null

Additional context

Maximum string length: 5000
model
enum<string> | null

Optional model override (claude-haiku-4-5-20251001, claude-opus-4-6, or claude-opus-4-6-1m). Must match mode when both are provided.

Available options:
claude-haiku-4-5-20251001,
claude-opus-4-6,
claude-opus-4-6-1m
mode
enum<string> | null

Tracer mode: tracer-fast (Haiku) or tracer-deep (Opus). Defaults to tracer-deep. When mode and model are both provided, they must agree.

Available options:
tracer-fast,
tracer-deep

Response

Successful Response