PUT
/
api
/
v1
/
reference-queries
/
{id}
/
curl --request PUT \
  --url https://api.camelai.com/api/v1/reference-queries/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "title": "<string>",
  "connection_id": 123,
  "source_type": "USER"
}'
{
  "id": 123,
  "query": "<string>",
  "title": "<string>",
  "detailed_description": "<string>",
  "connection_id": 123,
  "source_type": "USER",
  "status": "PROCESSING",
  "error_message": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Serializer for Reference Queries.

Response

200 - application/json

Serializer for Reference Queries.