Skip to content

index

Request

Security
ApiKeyAuth
Query
filter[agentId]string
Example:filter[agentId]=00000000-0000-0000-0000-000000000001
filter[formInterfaceId]string
Example:filter[formInterfaceId]=00000000-0000-0000-0000-000000000001
filter[chatInterfaceId]string
Example:filter[chatInterfaceId]=00000000-0000-0000-0000-000000000001
filter[interfaceType]string
Example:filter[interfaceType]=nonexistent
filter[projectId]string
Example:filter[projectId]=00000000-0000-0000-0000-000000000001
includestring
Example:include=chatInterface
sortstring
Example:sort=id
curl -i -X GET \
  'https://llm-api.treasuredata.com/api/agent_schedules?filter%5BagentId%5D=00000000-0000-0000-0000-000000000001&filter%5BformInterfaceId%5D=00000000-0000-0000-0000-000000000001&filter%5BchatInterfaceId%5D=00000000-0000-0000-0000-000000000001&filter%5BinterfaceType%5D=nonexistent&filter%5BprojectId%5D=00000000-0000-0000-0000-000000000001&include=chatInterface&sort=id' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

Empty result set when interface type filter does not match any resources values

Bodyapplication/vnd.api+json
dataArray of objectsrequired
metaobjectrequired
includedArray of objects
Response
{ "data": [], "meta": { "total": 0 }, "links": { "first": "http://www.example.com/api/agent_schedules?filter%5BinterfaceType%5D=nonexistent&page%5Blimit%5D=20&page%5Boffset%5D=0", "last": "http://www.example.com/api/agent_schedules?filter%5BinterfaceType%5D=nonexistent&page%5Blimit%5D=20&page%5Boffset%5D=0" }, "included": [ {}, {} ] }