List tools

Get all available tools in the workspace.

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

searchstringOpcjonalny
If specified, the endpoint returns only tools whose names start with this string.
page_sizeintegerOpcjonalny1-100
How many documents to return at maximum. Can not exceed 100, defaults to 30.
show_only_owned_documentsbooleanOpcjonalnyDomyślnie 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_idstringOpcjonalny

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.

typesenumOpcjonalny
If present, the endpoint will return only tools of the given types.
Dozwolone wartości:
sort_directionenumOpcjonalny
The direction to sort the results
Dozwolone wartości:
sort_byenumOpcjonalny
The field to sort the results by
Dozwolone wartości:
cursorstringOpcjonalny
Used for fetching next page. Cursor is returned in the response.

Odpowiedź

Successful Response
toolslist of objects
has_moreboolean
next_cursorstringOpcjonalny

Błędy

422
Tools List Request Unprocessable Entity Error