FlashData Playground API
The Playground API from FlashData — 2 operation(s) for playground.
Operations 2
GET
/playground/jobs/{jobId}/download
Download a completed Playground artifact in the current browser
#
The Playground API from FlashData — 2 operation(s) for playground.
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/flashdata-dev:flashdata-dev-playground-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. 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: FlashData Customer Playground API
version: 0.2.0-draft
summary: FlashData control-plane API contract
description: Google search, YouTube data and media downloads, with endpoints for jobs, accounts, API keys and billing. See /docs for request examples and setup guides.
contact:
name: FlashData Engineering
servers:
- url: https://api.flashdata.dev/v2
description: Management API
tags:
- name: Playground
paths:
/playground/run:
post:
operationId: runPlaygroundQuery
tags:
- Playground
summary: Run a playground query as the current workspace
security:
- cookieSession: []
csrfToken: []
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- source
- mode
- query
properties:
source:
type: string
mode:
type: string
enum:
- realtime
- async
- batch
query:
description: Source request body. In batch mode, also accepts an object containing only queries, an array of 1 to 20 request bodies. Every entry must match the selected source and its input schema. Search and Suggestions require query; Channel requires handle; Metadata, Transcript, Captions, Trainability and Download require an 11-character video_id matching [A-Za-z0-9_-]. Download batch entries must supply params.storage for customer storage; console browser delivery is not supported in this envelope. Account batch and pending-job limits still apply.
type: object
additionalProperties: true
responses:
'200':
description: Upstream Data API response captured for the playground
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- body
- endpoint
- mode
- status
properties:
body: {}
endpoint:
type: string
enum:
- /v1/queries
- /v1/queries/batch
- /v1/queries/realtime
mode:
type: string
enum:
- realtime
- async
- batch
status:
type: integer
minimum: 100
maximum: 599
'401':
$ref: '#/components/responses/Unauthorized'
'422':
$ref: '#/components/responses/ValidationError'
/playground/jobs/{jobId}/download:
get:
operationId: downloadPlaygroundJob
tags:
- Playground
summary: Download a completed Playground artifact in the current browser
security:
- cookieSession: []
parameters:
- in: path
name: jobId
required: true
schema:
type: string
pattern: ^job_[A-Za-z0-9_-]+$
responses:
'200':
description: Temporary browser-download artifact
headers:
Content-Disposition:
schema:
type: string
Content-Length:
schema:
type: integer
content:
application/octet-stream:
schema:
type: string
format: binary
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'410':
description: The temporary artifact has expired
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
responses:
Unauthorized:
description: Authentication required or invalid
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NotFound:
description: Resource not found or not owned by the caller
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ValidationError:
description: Request validation failed
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Conflict:
description: Resource state or idempotency conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ServiceUnavailable:
description: A required dependency or catalog is temporarily unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
schemas:
FieldError:
type: object
additionalProperties: false
required:
- field
- code
- message
properties:
field:
type: string
code:
type: string
message:
type: string
Problem:
type: object
additionalProperties: false
required:
- type
- title
- status
- code
- requestId
properties:
type:
type: string
format: uri-reference
title:
type: string
status:
type: integer
minimum: 400
maximum: 599
code:
type: string
pattern: ^[a-z0-9_]+$
detail:
type: string
requestId:
type: string
pattern: ^req_
fieldErrors:
type: array
items:
$ref: '#/components/schemas/FieldError'
securitySchemes:
dataApiKey:
type: apiKey
in: header
name: X-API-Key
description: FlashData API key. Job access is restricted to the key's source scopes.
agentRegistrationProof:
type: http
scheme: bearer
description: Persist a cryptographically random 32-byte base64url proof and exact request BEFORE sending; recover only with the same proof and body. Not an OAuth token.
cookieSession:
type: apiKey
in: cookie
name: __Host-fd_session
description: Opaque Web session. The browser cannot read this cookie.
agentSetupCredential:
type: http
scheme: bearer
description: Temporary setup credential for status and claim creation only. Not a data API key.
csrfToken:
type: apiKey
in: header
name: X-CSRF-Token
agentIdentityKey:
type: http
scheme: bearer
description: Ordinary FlashData API key in Authorization Bearer, only on agent identity. Data queries use X-API-Key instead.
agentHandoffProof:
type: http
scheme: bearer
description: Proof used to recover the owner key and acknowledge installation. Never sent to a data query.