cURL
curl --request GET \ --url https://eu-vg-edge.moeaymandev.workers.dev/v2/agents/{agent_id}/kb/{doc_id} \ --header 'Authorization: Bearer <token>'
{ "documentID": "<string>", "data": { "type": "<string>", "name": "<string>", "canEdit": true }, "updatedAt": 123, "status": { "type": "<string>", "data": {} }, "tags": [ "<string>" ] }
Returns the specified document from the agentβs VF/VG KB
Agent/Workspace secret API key as bearer token.
The ID of the agent to retrieve the document from
The ID of the document to retrieve
Document retrieved
The response is of type object.
object