Codevisor Server
Api reference

POST Sessions Id Prompt

POST/v1/sessions/{id}/prompt

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

text*string
clientActionId?string|null
attachments?array<>|null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/sessions/string/prompt" \  -H "Content-Type: application/json" \  -d '{    "text": "string"  }'
{  "accepted": true,  "sessionId": "string",  "queueItemId": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}