# docs_read

Read one versioned article as Markdown.

REST · `POST /api/v1/operations/docs_read` · MCP · `docs_read`

Required scope · `read`. This operation reads data.

## Example request body

~~~json
{
  "id": "agents",
  "lang": "en"
}
~~~

REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.

For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.

## JSON Schema · Input

~~~json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_-]{0,100}$"
    },
    "lang": {
      "default": "pt-BR",
      "type": "string",
      "enum": [
        "pt-BR",
        "en"
      ]
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
~~~

## JSON Schema · Output

~~~json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_-]{0,100}$"
    },
    "lang": {
      "type": "string",
      "enum": [
        "pt-BR",
        "en"
      ]
    },
    "title": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "uri": {
      "type": "string"
    },
    "markdown": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "lang",
    "title",
    "summary",
    "url",
    "uri",
    "markdown"
  ],
  "additionalProperties": false
}
~~~
