docs

Search Agent Docs

Changed on

Searches for documents associated with a specific agent.

Parameters: x_developer_id (UUID): The unique identifier of the developer associated with the agent. search_params (TextOnlyDocSearchRequest | VectorDocSearchRequest | HybridDocSearchRequest): The parameters for the search. agent_id (UUID): The umnique identifier of the agent associated with the documents. Returns: DocSearchResponse: The search results.

post/agents/{agent_id}/search

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/agents/{agent_id}/search
  • Auth
    API key in header Authorization

Path parameters

agent_idstring uuid required

Query parameters

connection_poolunknown

Request body

OR
OR

Response

Successful Response

timenumber required

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • breaking

      the / request property's min was increased to 1.00

    • warning

      the / request property's max was set to 10.00

    • warning

      removed the request property /

    • info

      the request property default value changed from 7 to 5

    • info

      the request property default value 0.6 was removed

    • info

      the request property default value 0.6 was removed

    • info

      request property / list-of-types was widened by adding types null to media type application/json

    • info

      request property / list-of-types was widened by adding types null to media type application/json