List tools

Get all available tools in the workspace.

请求头

xi-api-keystring可选

查询参数

searchstring可选
If specified, the endpoint returns only tools whose names start with this string.
page_sizeinteger可选1-100
How many documents to return at maximum. Can not exceed 100, defaults to 30.
show_only_owned_documentsboolean可选默认为 falseDeprecated

If set to true, the endpoint will return only tools owned by you (and not shared from somebody else). Deprecated: use created_by_user_id instead.

created_by_user_idstring可选

Filter tools by creator user ID. When set, only tools created by this user are returned. Takes precedence over show_only_owned_documents. Use ‘@me’ to refer to the authenticated user.

typesenum可选
If present, the endpoint will return only tools of the given types.
允许的值:
sort_directionenum可选
The direction to sort the results
允许的值:
sort_byenum可选
The field to sort the results by
允许的值:
cursorstring可选
Used for fetching next page. Cursor is returned in the response.

响应

Successful Response
toolslist of objects
has_moreboolean
next_cursorstring可选

错误

422
Tools List Request Unprocessable Entity Error