sessions

Spawn a new agent session

post/api/v1/sessions

Request body

branchstring
displayNamestring
harness'claude-code' | 'codex' | 'aider' | 'opencode' | 'grok' | 'droid' | 'amp' | 'agy' | 'crush' | 'cursor' | 'qwen' | 'copilot' | 'goose' | 'auggie' | 'continue' | 'devin' | 'cline' | 'kimi' | 'muse' | 'kiro' | 'kilocode' | 'vibe' | 'pi' | 'kimchi' | 'omp' | 'prime-agent' | 'autohand'
issueIdstring
kind'worker' | 'orchestrator'
mode'chat' | 'tui'
modelstring
projectIdstring required
promptstring
trackerProvider'github' | 'gitlab'

Response

Created

promptBytesinteger required
systemPromptBytesinteger required

Changes

Changed in 28 of the 107 revisions of this API.25343

    • added the required property session/displayStatus to the response with the 201 status

      response-required-property-added

    • added the required property session/kanbanColumn to the response with the 201 status

      response-required-property-added

    • added the optional property session/lastUserMessageAt to the response with the 201 status

      response-optional-property-added

    • added the new omp enum value to the request property harness

      request-property-enum-value-added

    • added the new optional request property model

      new-optional-request-property

    • added the optional property session/model to the response with the 201 status

      response-optional-property-added

    • added the optional property session/activeAgentSwitch to the response with the 201 status

      response-optional-property-added

    • added the required property session/autoReviewEnabled to the response with the 201 status

      response-required-property-added

    • added the new optional request property trackerProvider

      new-optional-request-property

    • added the required property session/autoInjectCI to the response with the 201 status

      response-required-property-added

    • added the required property session/autoInjectReview to the response with the 201 status

      response-required-property-added

    • added the new kimchi enum value to the session/reviewerHarness response property for the response status 201

      response-property-enum-value-added

    • added the new kimchi enum value to the request property harness

      request-property-enum-value-added