Skip to main content
POST
/
items
/
{id}
/
detection-context
cURL
curl --request POST \
  --url https://app.cotool.ai/items/{id}/detection-context \
  --header 'Authorization: Bearer <token>'
{
  "detectionContext": "<any>",
  "chatUrl": "<string>",
  "asset": {
    "id": "<string>",
    "title": "<string>",
    "type": "<string>",
    "content": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

id
string
required

Response

200 - application/json

Successful response

chatUrl
string
required
asset
object
required
detectionContext
any