Skip to main content
GET
/
public
/
v1
/
docs
/
{docId}
/
md
Get Document Content
curl --request GET \
  --url https://api.copera.ai/public/v1/docs/{docId}/md \
  --header 'Authorization: Bearer <token>'
{
  "content": "<string>"
}

Parameters

  • docId: The document whose content to retrieve

Response

Returns an object with a content field containing the markdown body of the document.

Authorizations

Authorization
string
header
required

Bearer token

Path Parameters

docId
string
required

ObjectId

Required string length: 24
Pattern: ^[0-9a-fA-F]{24}$

Response

Default Response

content
string
required