List tools

Get all available tools in the workspace.

Encabezados

xi-api-keystringOpcional

Parámetros de consulta

searchstringOpcional
If specified, the endpoint returns only tools whose names start with this string.
page_sizeintegerOpcional1-100
How many documents to return at maximum. Can not exceed 100, defaults to 30.
show_only_owned_documentsbooleanOpcionalValor predeterminado: 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_idstringOpcional

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.

typesenumOpcional
If present, the endpoint will return only tools of the given types.
Valores permitidos:
sort_directionenumOpcional
The direction to sort the results
Valores permitidos:
sort_byenumOpcional
The field to sort the results by
Valores permitidos:
cursorstringOpcional
Used for fetching next page. Cursor is returned in the response.

Respuesta

Successful Response
toolslist of objects
has_moreboolean
next_cursorstringOpcional

Errores

422
Tools List Request Unprocessable Entity Error