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