# publications_get

Read one publication and its attempt history.

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

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

## Example request body

~~~json
{
  "id": "RECORD_ID"
}
~~~

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",
      "minLength": 1,
      "maxLength": 128
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
~~~

## JSON Schema · Output

~~~json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "version": {
      "type": "number"
    },
    "account_id": {
      "type": "string"
    },
    "group_id": {
      "type": "string"
    },
    "diagnosis": {
      "type": "object",
      "properties": {
        "firstRequestAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastCheckedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "reviewUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "stage": {
          "type": [
            "string",
            "null"
          ]
        },
        "cause": {
          "type": [
            "string",
            "null"
          ]
        },
        "attemptId": {
          "type": [
            "string",
            "null"
          ]
        },
        "originalDueAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveDueAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "delaySeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "nextAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "canRetry": {
          "type": "boolean"
        },
        "canRevise": {
          "type": "boolean"
        },
        "canReconcile": {
          "type": "boolean"
        },
        "canResume": {
          "type": "boolean"
        },
        "needsReview": {
          "type": "boolean"
        },
        "action": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "firstRequestAt",
        "lastCheckedAt",
        "reviewUrl",
        "stage",
        "cause",
        "attemptId",
        "originalDueAt",
        "effectiveDueAt",
        "delaySeconds",
        "nextAt",
        "canRetry",
        "canRevise",
        "canReconcile",
        "canResume",
        "needsReview",
        "action"
      ],
      "additionalProperties": {}
    },
    "platform": {
      "type": "string"
    },
    "account_name": {
      "type": "string"
    },
    "account_handle": {
      "type": [
        "string",
        "null"
      ]
    },
    "media_name": {
      "type": "string"
    },
    "payload": {
      "type": "object",
      "properties": {
        "caption": {
          "type": "string"
        }
      },
      "required": [
        "caption"
      ],
      "additionalProperties": {}
    },
    "due_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "remote_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "confirmed_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "error_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "attempts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string"
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": "string"
          },
          "attempt_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "http_status": {
            "type": [
              "number",
              "null"
            ]
          },
          "support_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "state",
          "detail",
          "created_at",
          "attempt_id",
          "source",
          "code",
          "http_status",
          "support_id",
          "next_at"
        ],
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "id",
    "status",
    "version",
    "account_id",
    "group_id",
    "diagnosis",
    "platform",
    "account_name",
    "account_handle",
    "media_name",
    "payload",
    "due_at",
    "remote_id",
    "confirmed_at",
    "error_code",
    "attempts"
  ],
  "additionalProperties": {}
}
~~~
