TypeScript client
Media creation
Search backgrounds
Search approved stock providers for backgrounds, with existing library packs available as a fallback. Provider search usage may spend credits; send an Idempotency-Key for a safe retry.
POST
TypeScript client
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
a string at most 200 character(s) long
Required string length:
1 - 200Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Body
application/json
a string at most 650 character(s) long
Required string length:
1 - 650an array of at most 2 item(s)
Required array length:
1 - 2 elementsAvailable options:
unsplash, pinterest a string at most 128 character(s) long
Maximum string length:
128a Universally Unique Identifier
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a number between 1 and 20
Required range:
1 <= x <= 20