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": {} } ]
Bearer authentication header of the form Bearer <API_KEY>. API keys can be generated in the dashboard.
<API_KEY>
The response is of type object[].
object[]
Was this page helpful?