# media_list

List ready media by project.

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

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

## Example request body

~~~json
{}
~~~

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": {
    "projectId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "search": {
      "default": "",
      "type": "string",
      "maxLength": 150
    },
    "limit": {
      "default": 100,
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "additionalProperties": false
}
~~~

## JSON Schema · Output

~~~json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "project_id": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "metadata": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "width": {
                "type": "number"
              },
              "height": {
                "type": "number"
              },
              "duration": {
                "type": "number"
              },
              "codec": {
                "type": "string"
              },
              "size": {
                "type": "number"
              }
            },
            "required": [
              "width",
              "height",
              "duration",
              "codec",
              "size"
            ],
            "additionalProperties": {}
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "required": [
      "id",
      "name",
      "project_id",
      "status",
      "metadata"
    ],
    "additionalProperties": {}
  }
}
~~~
