POST
/
query
curl --request POST \
  --url https://{capsule-id}.sid.ai/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "limit": 123,
  "wishlist": {}
}'
[
  {
    "item_id": "<string>",
    "idx": 123,
    "content": "<string>",
    "uri": "<string>",
    "kind": "<string>",
    "file_name": "<string>",
    "file_type": "<string>",
    "time_added": "2023-11-07T05:31:56Z",
    "time_authored": "2023-11-07T05:31:56Z",
    "score": 123,
    "metadata": {}
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>. API keys can be generated in the dashboard.

Body

application/json

Response

200
application/json
Successful response

The response is of type object[].