cURL
curl --request GET \ --url http://localhost:8080/api/workspaces/{id}/documents/{doc_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "workspace_id": "<string>", "title": "<string>", "content": "<string>", "visibility": "human-only", "injection": "none", "created_at": "<string>", "updated_at": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
human-only
agent-visible
none
reference
inline
must-read