Agents

Get agent schemas

Changed on

Retrieve an agent's input and output JSON schemas.

get/api/agents/{agent_id}/schemas

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/api/agents/{agent_id}/schemas
  • Auth: HTTP bearer

Path parameters

agent_idstring required

ID of the agent whose schemas should be retrieved.

Query parameters

include_toolsboolean

Whether to include tool metadata in the response.

Response

Successful response.

agent_idstring required

ID of the agent.

namestring

Name of the agent.

input_schemaobject required

Agent input schema in JSON Schema format.

output_schemaobject required

Agent output schema in JSON Schema format.

request_idstring required

Platform-generated request ID for support correlation.

Changes

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new spend_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new token_limit_exceeded enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status

    • warning

      added the new tools_unauthorized enum value to the // response property for the response status