Siren Studio Sessions API
The studio-sessions API from Siren — 7 operation(s) for studio-sessions.
The studio-sessions API from Siren — 7 operation(s) for studio-sessions.
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/mysiren-ai:mysiren-ai-studio-sessions-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: Siren Studio Sessions API
version: 1.0.0
description: 'Siren public API. One brief becomes on-brand images, video, and posts.
**Base URL:** `https://api.mysiren.ai`
**Versioning:** URL path. Current surface is `/api/v1/`. Breaking changes
ship as `/api/v2/`. Additive fields on v1 responses are not breaking.
**Deprecation:** a v1 operation that will go away is marked `deprecated: true`
and the live response carries `Deprecation: true` plus a `Sunset` HTTP-date
at least 90 days out. Agents should stop calling a sunset operation before
that date.
**Auth:** `Authorization: Bearer sk_live_…` or `sk_test_…`. Key minting is open on every plan, Spark included; video is the one Pro gate.
Mint keys in the dashboard under Developer. First onboarding post is free;
API credits follow the workspace plan.
**Errors:** JSON object `{ "code": string, "message": string, "detail"?: any }`.
FastAPI validation may also send `{ "detail": … }`. Treat a string `detail`
as the message and use `code` when present. `429` includes `Retry-After`
and RateLimit-* headers.
**Rate limits:** every response includes IETF `RateLimit-Limit` /
`RateLimit-Remaining` / `RateLimit-Reset` and legacy `X-RateLimit-*`.
Honor `Retry-After` on 429.
**Docs:** https://mysiren.ai/api · https://mysiren.ai/docs.txt ·
https://mysiren.ai/llms.txt · MCP at https://mcp.mysiren.ai/mcp'
contact:
name: Siren Ai, Inc.
url: https://mysiren.ai
email: support@mysiren.ai
servers:
- url: https://api.mysiren.ai
description: Production
tags:
- name: studio-sessions
paths:
/api/v1/programmatic/studio/threads:
post:
tags:
- studio-sessions
summary: Key Create Thread
operationId: key_create_thread_api_v1_programmatic_studio_threads_post
parameters:
- name: X-Siren-Agent-Label
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Agent-Label
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ThreadCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key Create Thread. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
get:
tags:
- studio-sessions
summary: Key List Threads
operationId: key_list_threads_api_v1_programmatic_studio_threads_get
parameters:
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key List Threads. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
/api/v1/programmatic/studio/threads/{thread_id}:
get:
tags:
- studio-sessions
summary: Key Get Thread
operationId: key_get_thread_api_v1_programmatic_studio_threads__thread_id__get
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key Get Thread. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
/api/v1/programmatic/studio/threads/{thread_id}/export:
post:
tags:
- studio-sessions
summary: Key Export
operationId: key_export_api_v1_programmatic_studio_threads__thread_id__export_post
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExportCreate'
responses:
'202':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key Export. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
/api/v1/programmatic/studio/threads/{thread_id}/messages:
post:
tags:
- studio-sessions
summary: Key Post Message
operationId: key_post_message_api_v1_programmatic_studio_threads__thread_id__messages_post
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
- name: X-Siren-Agent-Label
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Agent-Label
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MessageCreate'
responses:
'202':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key Post Message. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
/api/v1/programmatic/studio/threads/{thread_id}/messages/{message_id}:
get:
tags:
- studio-sessions
summary: Key Get Message
operationId: key_get_message_api_v1_programmatic_studio_threads__thread_id__messages__message_id__get
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
- name: message_id
in: path
required: true
schema:
type: string
title: Message Id
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key Get Message. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
/api/v1/programmatic/studio/threads/{thread_id}/versions/{n}/design-pack:
get:
tags:
- studio-sessions
summary: Key Design Pack
description: 'Agent door to the same pack: the tokens and rules the design was drawn
with. Scope-free reads, like studio_get.'
operationId: key_design_pack_api_v1_programmatic_studio_threads__thread_id__versions__n__design_pack_get
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
- name: n
in: path
required: true
schema:
type: integer
title: N
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/programmatic/studio/threads/{thread_id}/versions/{n}/preview:
get:
tags:
- studio-sessions
summary: Key Preview
operationId: key_preview_api_v1_programmatic_studio_threads__thread_id__versions__n__preview_get
parameters:
- name: thread_id
in: path
required: true
schema:
type: string
title: Thread Id
- name: n
in: path
required: true
schema:
type: integer
title: N
- name: X-Siren-Key-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Id
- name: X-Siren-Key-Workspace-ID
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Workspace-Id
- name: X-Siren-Key-Scopes
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Siren-Key-Scopes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'400':
description: Bad request. Typed Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks the required scope or plan.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Credits or plan gate. Message names the upgrade.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Run or resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict (idempotency replay mismatch).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited. Honor Retry-After and RateLimit-*.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Internal error. Retry with backoff.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
description: Key Preview. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
components:
schemas:
Error:
type: object
title: Error
required:
- code
- message
additionalProperties: true
properties:
code:
type: string
description: Machine-readable code (rate_limited, plan_required, unauthorized).
message:
type: string
description: Human-readable explanation safe to show an operator.
detail:
description: Optional structured extra (field errors, plan slug, retry hint).
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ExportCreate:
properties:
version:
anyOf:
- type: integer
minimum: 1.0
- type: 'null'
title: Version
surface:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Surface
type: object
title: ExportCreate
ThreadCreate:
properties:
prompt:
anyOf:
- type: string
maxLength: 4000
- type: 'null'
title: Prompt
template:
anyOf:
- type: string
maxLength: 120
- type: 'null'
title: Template
surface:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Surface
attachments:
items:
type: string
type: array
maxItems: 6
title: Attachments
type: object
title: ThreadCreate
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
MessageCreate:
properties:
text:
type: string
maxLength: 4000
title: Text
default: ''
attachments:
items:
type: string
type: array
maxItems: 6
title: Attachments
intent:
anyOf:
- type: string
maxLength: 16
- type: 'null'
title: Intent
slide:
anyOf:
- type: integer
maximum: 11.0
minimum: 0.0
- type: 'null'
title: Slide
type: object
title: MessageCreate