Skip to content

Artifact

index

Request

Security
ApiKeyAuth
Query
filter[chat_id]string
Example:filter[chat_id]=00000000-0000-0000-0000-000000000001
filter[chat_interface_id]string
Example:filter[chat_interface_id]=00000000-0000-0000-0000-000000000001
filter[form_interface_id]string
Example:filter[form_interface_id]=00000000-0000-0000-0000-000000000001
curl -i -X GET \
  'https://llm-api.treasuredata.com/api/artifacts?filter%5Bchat_id%5D=00000000-0000-0000-0000-000000000001&filter%5Bchat_interface_id%5D=00000000-0000-0000-0000-000000000001&filter%5Bform_interface_id%5D=00000000-0000-0000-0000-000000000001' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

filters by chat_interface_id

Bodyapplication/vnd.api+json
dataArray of objectsrequired
metaobjectrequired
Response
{ "data": [], "meta": { "total": 0 }, "links": { "first": "http://www.example.com/api/artifacts?filter%5Bchat_interface_id%5D=00000000-0000-0000-0000-000000000001&page%5Blimit%5D=20&page%5Boffset%5D=0", "last": "http://www.example.com/api/artifacts?filter%5Bchat_interface_id%5D=00000000-0000-0000-0000-000000000001&page%5Blimit%5D=20&page%5Boffset%5D=0" } }