Taskade Media API
The Media API from Taskade — 4 operation(s) for media.
The Media API from Taskade — 4 operation(s) for media.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/taskade-com:taskade-com-media-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Taskade Public API (v1) Media API
description: 'Taskade REST API (v1, GA) — stable, resource-style endpoints with full task and project CRUD. The AI-native workspace platform: build apps, deploy agents, automate workflows.'
version: 1.0.0
servers:
- url: https://www.taskade.com/api/v1
description: Public API server
security:
- oAuthAuthorizationCode: []
personalAccessToken: []
tags:
- name: Media
paths:
/medias/{mediaId}:
get:
operationId: mediaGet
tags:
- Media
description: Get media with id
parameters:
- schema:
type: string
in: path
name: mediaId
required: true
responses:
'200':
description: Media
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
enum:
- true
item:
allOf:
- $ref: '#/components/schemas/Media'
required:
- ok
- item
additionalProperties: false
description: Media
example:
ok: true
item:
id: abc123DEF456
space_id: abc123DEF456
kind: example
4XX:
description: Error description
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Media get
x-summary-source: derived
delete:
operationId: mediaDelete
tags:
- Media
description: Delete a media file
parameters:
- schema:
type: string
in: path
name: mediaId
required: true
responses:
'200':
description: Media deleted
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
enum:
- true
required:
- ok
additionalProperties: false
description: Media deleted
example:
ok: true
4XX:
description: Error description
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Media delete
x-summary-source: derived
/medias/{mediaId}/download:
get:
operationId: mediaDownload
tags:
- Media
description: Download the binary content of a media file. Returns the file with the original Content-Type and Content-Disposition headers.
parameters:
- schema:
type: string
in: path
name: mediaId
required: true
description: The SpaceMedia record ID.
responses:
'200':
description: The binary content of the media file.
content:
application/octet-stream:
schema:
type: string
format: binary
4XX:
description: Error description
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Media download
x-summary-source: derived
/medias/spaces/{spaceId}/download:
get:
operationId: mediaDownloadAll
tags:
- Media
description: Download all media files from a space as a ZIP archive. Each file is stored as {mediaId}/metadata.json (id, kind, name, mimetype, size) and {mediaId}/original (binary content).
parameters:
- schema:
type: string
in: path
name: spaceId
required: true
description: The space (subspace / app) ID to download all media from.
responses:
'200':
description: A ZIP archive of every media file in the space.
content:
application/zip:
schema:
type: string
format: binary
4XX:
description: Error description
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Media download all
x-summary-source: derived
/medias/spaces/{spaceId}/upload:
post:
operationId: mediaUpload
tags:
- Media
description: Upload a media file to a space (root workspace or subspace / app). Send the file as the raw request body with the appropriate Content-Type header (e.g. image/png, application/pdf, application/octet-stream). Pass the original filename as the `filename` query parameter.
parameters:
- schema:
type: string
in: query
name: filename
required: true
description: Original filename of the uploaded file (e.g. "photo.png").
- schema:
type: string
in: path
name: spaceId
required: true
description: The space ID to upload media into (can be a root workspace or a subspace / app).
responses:
'200':
description: Uploaded media file details
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
enum:
- true
item:
type: object
properties:
mediaId:
type: string
description: The SpaceMedia record ID (UUID).
fileId:
type: string
description: The file ID used in S3 (e.g. "space-files/uuid").
kind:
type: string
description: Detected media kind (image, video, audio, document, etc.).
downloadUrl:
type: string
description: Public URL to download the uploaded file.
required:
- mediaId
- fileId
- kind
- downloadUrl
additionalProperties: false
required:
- ok
- item
additionalProperties: false
description: Uploaded media file details
example:
ok: true
item:
mediaId: abc123DEF456
fileId: abc123DEF456
kind: example
downloadUrl: https://example.com
4XX:
description: Error description
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
description: The raw file bytes. Set Content-Type to the file type.
content:
application/octet-stream:
schema:
type: string
format: binary
summary: Media upload
x-summary-source: derived
components:
schemas:
Error:
type: object
properties:
ok:
type: boolean
enum:
- false
message:
type: string
code:
type: string
statusMessage:
type: string
required:
- ok
- message
- code
- statusMessage
additionalProperties: false
description: Error description
Media:
type: object
properties:
id:
type: string
space_id:
type: string
kind:
type: string
required:
- id
- space_id
- kind
additionalProperties: false
securitySchemes:
oAuthAuthorizationCode:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://www.taskade.com/oauth2/authorize
tokenUrl: https://www.taskade.com/oauth2/token
scopes: {}
personalAccessToken:
type: http
scheme: bearer