API reference · Public
One published recipe
GET/api/studio/recipes/{id}API key
Public: waiting or listed. A declined or removed recipe is a 404.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string |
Answer 200
The recipe.
| Field | Type | What it is |
|---|---|---|
| id | string | srx_ followed by 24 hex digits. |
| object | string | One of "studio.recipe". |
| kind | string | One of "shot", "ad". |
| title | string | |
| about | string or null | |
| body | object | |
| share_id | string or null | The creator's own live share that plays as its sample. |
| state | string | One of "pending", "listed", "declined". |
| path | string | Its page on this origin. |
| created_at | integer | |
| reviewed_at | integer or null |
Errors
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.