For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

MediaPrompts

List prompts

GET
/v1/media/prompts

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Query Parameters

page?string

1-based page number (default 1).

limit?string

Page size (default 10).

name?string

Case-insensitive filename/friendly-name filter.

sortBy?string

Value in

  • "name"
  • "createdAt"
  • "updatedAt"
sortOrder?string

Value in

  • "asc"
  • "desc"
language?string

Prompt language tag.

Value in

  • "N/A"
  • "EN"
  • "ES"
  • "FR"
  • "DE"
  • "IT"
  • "PT"
  • "JA"
  • "ZH"

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/media/prompts"
{  "values": [    {      "id": "string",      "organizationId": "string",      "filename": "string",      "bucket": "string",      "key": "string",      "mimetype": "string",      "language": "N/A",      "friendlyName": "string",      "waveform": {        "promptId": "string",        "sampleRate": 0,        "bars": [          0        ],        "generatedAt": "2019-08-24T14:15:22Z",        "status": "pending",        "fallbackToClient": true      },      "audio": {        "durationMilliseconds": 0      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "size": 0,  "page": 0,  "pageCount": 0,  "availableLanguages": [    "string"  ]}
{  "error": {    "code": "string",    "message": "string"  }}