Two kinds of credential
Every request carries a bearer token:Authorization: Bearer <credential>
Which credential depends on who is calling.
Configure applications with an ingest key. A session token also works on
POST /v1/ingest, which is convenient for trying the API by hand, but it
expires with your session and carries every permission you have.
Creating an ingest key
- Open API Keys in the left sidebar (organisation admins).
- New key, type Ingest. Optionally pin it to one project, and give it an expiry.
- Copy the key: it is shown exactly once.
apiKey / api_key, or in the STREAMLOGIA_API_KEY
environment variable. Revoking the key on the same page stops it immediately.