Skip to main content
POST
/
items
/
{id}
/
detection-context
cURL
curl -X POST "https://app.cotool.ai/items/:id/detection-context" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "chatUrl": "<string>",
  "asset": {
    "id": "<string>",
    "title": "<string>",
    "type": "<string>",
    "content": "<string>"
  },
  "detectionContext": "<unknown>"
}

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