/datastores

Retrieve a list of Datastores.

Performs cursor-based pagination if the number of Datastores exceeds the requested limit. The returned cursor can be passed to the next GET /datastores call to retrieve the next set of Datastores.

get/datastores

Request

  • Base URL
    https://api.contextual.ai/v1
  • URL
    https://api.contextual.ai/v1/datastores
  • Auth
    HTTP bearer

Query parameters

agent_idstring uuid

ID of the agent used to filter datastores. If provided, only datastores linked to this agent will be returned.

limitinteger

Maximum number of datastores to return

cursorstring

Cursor from the previous call to list datastores, used to retrieve the next set of results

Response

Successful Response

next_cursorstring

Next cursor to continue pagination. Omitted if there are no more datastores to retrieve.

Changes

    • breaking

      removed the required property from the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      the response's property default value changed from true to false for the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property // to the response with the status