Codevisor Docs
Api reference

POST Agents

POST/v1/agents

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

prompt*string
title*string
checkout?|null
standalone?boolean|null
harness?string|null
model?string|null
project?string|null
labels?|null
callerAgentId?string|null
callerAgentMachineId?string|null
callerDefaults?|null
sandbox?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/agents" \  -H "Content-Type: application/json" \  -d '{    "prompt": "string",    "title": "string"  }'
{  "agentId": "string",  "title": "string",  "projectId": "string",  "workspaceId": "string",  "worktreeName": "string",  "delivered": "string",  "subscribed": true}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}