Get Retrieval Info
/agents/{id}/query
Get Retrieval Info
Return metadata of the contents used to generate the response for a given message.
GET
Get Retrieval Info
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the agent which sent the provided message.
ID of the message for which the content metadata needs to be retrieved.
Query Parameters
List of content ids for which to get the metadata.
Response
Successful Response
content_metadatas
(UnstructuredContentMetadata · object | StructuredContentMetadata · object | FileAnalysisContentMetadata · object | ContextualAgentContentMetadata · object)[]
List of content metadatas.
Content type
- UnstructuredContentMetadata
- StructuredContentMetadata
- FileAnalysisContentMetadata
- ContextualAgentContentMetadata