API ReferenceAgents
Authorization
bearerAuth AuthorizationBearer <token>
appSecret or sessionToken
In: header
Request Body
application/json
runtime*string
Runtime id (currently "pi")
provider?string
Initial provider hint
model?string
Initial model hint
branchId?string
Optional branch identifier
threadId?string
Optional runtime thread id
cwd?string
Working directory hint
Response Body
application/json
curl -X POST "https://your-convex-deployment.convex.site/api/agents/session" \ -H "Content-Type: application/json" \ -d '{ "runtime": "string" }'{}Edit on GitHub
Last updated on