Skip to main content
POST
Import prompts

Authorizations

Authorization
string
header
required

A Searchable API key, created under Settings → Workspace → Integrations. Send as Authorization: Bearer sea_xxxxx. Every key carries one or more scopes (read, write, admin) and may optionally be bound to a single project — see Getting started.

Headers

Idempotency-Key
string

Optional client-generated key (e.g. a UUID). Retrying with the same key within 24h replays the original stored response (X-Idempotent-Replay: true) instead of repeating the side effect. See Idempotency.

Path Parameters

projectId
string<uuid>
required

The project id.

Body

application/json
candidates
object[]
required
Required array length: 1 - 10 elements
market
string

Which spelling list to hold the set to (US or GB).

Response

The added prompts.

prompts
object[]
required
created
integer
required
success
boolean
required
outcomes
object[]

One row per submitted candidate, in submission order. Present on success and, alongside the error, on a partial failure.