Skip to content

index

Request

Security
ApiKeyAuth
Query
filter[name]string
Example:filter[name]=duzdfzfd
filter[project_id]string
Example:filter[project_id]=00000000-0000-0000-0000-000000000001
filter[target_type]string
Example:filter[target_type]=WorkflowExecutor
includestring
Example:include=createdBy,updatedBy
targetTypestring
Example:targetType=ExperimentalKnowledgeBase
curl -i -X GET \
  'https://llm-api.treasuredata.com/api/tool_targets?filter%5Bname%5D=duzdfzfd&filter%5Bproject_id%5D=00000000-0000-0000-0000-000000000001&filter%5Btarget_type%5D=WorkflowExecutor&include=createdBy%2CupdatedBy&targetType=ExperimentalKnowledgeBase' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

includes by created_by and updated_by

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