Skip to content

get_file

One file in storage: its url, kind, size, width, height, orientation, duration. Needs the storage permission. Also available as the MCP tool get_file.

POST
https://mixetape.com/api/v1/tools/get_file

Authorisation

  • apiKeyHTTPrequired

Request bodyJSONrequired

  • filestringrequired

    The file's id, or its url (r2://…)

Returns

200

The tool's result.

JSON
  • resultunknownrequired

    What the tool returns

400

The request is invalid; error says why.

JSON
  • errorstringrequired

    What went wrong, in plain words

401

No valid API key.

JSON
  • errorstringrequired

    What went wrong, in plain words

403

The key lacks the permission this needs.

JSON
  • errorstringrequired

    What went wrong, in plain words

404

Not found, or not yours.

JSON
  • errorstringrequired

    What went wrong, in plain words

Navigation

Type to search…

↑↓ navigate↵ selectEsc close