Get a key
Create and manage keys in the Developer Console — it is also where you top up your balance, watch usage, and configure webhooks. Keys look likesk-mai-…; treat one as a password.
API key & host
Every request carries your Memories.ai key in theAuthorization header:
- Missing / invalid key →
401. A scoped key used outside its scope →403. - Store the key in an environment variable (e.g.
MEMORIES_API_KEY); never hard-code it.
Request conventions
Responses always echo
X-Request-ID, carry X-RateLimit-Limit / -Remaining / -Reset, and send Retry-After on 429 / 503 / 409 (video_not_ready) / 500.
IDs & state
- Prefixes:
col_/vid_/op_/per_/fce_/ent_/evt_/spk_/req_(prefix + 26-char lowercase base32). - Video / Person state:
processing → ready | failed. - Moment ref:
{video_id}@{start}-{end}in seconds (omit@for the whole video).
Pagination
SDKs
The Datalake is REST-first — every example is copy-pastecurl and Python requests. Official SDKs are on the way.