Resolve the context sources of an agent execution
POSThttps://platform.docana.com/api/v1/agents/:agentId/executions/:executionId/context-sources/
Accepts a JSON body { applicationId, messageIds?, knowledgeIds?, documentIds? }. Ids of the wrong type are silently dropped; when no valid id remains the empty payload is returned without touching the database.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The resolved context sources
Invalid JSON body or missing applicationId
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Execution not found or not accessible
Unexpected server error.