MCP / Tools / Shot / Media / Export / export_query

export_query

readbetaauth: project:readapproval: automaticstatus: v1

List owned project exports or reopen one retained export with an authenticated download reference, without regenerating it.

When to use

  • Reopen a previously created project export or list your retained exports.

When not to use

  • Use export_create to render a new export from current writing.

Examples

  • “List my exports for this project, then get one by export_id.”

Anti-examples

  • Regenerate an expired export or read another user's file.

Backend capabilities

export.query

Input schema

export_query input
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "project_id": {
      "type": "integer"
    },
    "mode": {
      "type": "string",
      "enum": [
        "list",
        "get"
      ]
    },
    "export_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "project_id",
    "mode"
  ],
  "additionalProperties": false,
  "allOf": [
    {
      "if": {
        "properties": {
          "mode": {
            "const": "get"
          }
        }
      },
      "then": {
        "required": [
          "export_id"
        ]
      }
    }
  ]
}

Output schema

export_query output
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": [
    "project_id",
    "mode"
  ],
  "properties": {
    "project_id": {
      "type": "integer"
    },
    "mode": {
      "type": "string",
      "enum": [
        "list",
        "get"
      ]
    },
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "export": {
      "type": "object",
      "additionalProperties": true
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}
← All toolsv1 · query_tool