Skip to content

Public API integration

The project API uses HTTP Basic authentication: the public key is the username and the secret key is the password. Obtain keys from your project settings. Use your own AOS instance address and keep the secret key out of source control and browser code.

Full-access keys can access project endpoints. Ingestion-only keys are restricted to the documented telemetry, media upload and score write endpoints; other endpoints return 403. Use ingestion-only keys for agents that only need to send telemetry, and do not assume they can read traces or project configuration.

The API contract describes project endpoints and their errors. Unauthorized credentials, denied access, missing resources and unsupported methods are distinct outcomes. Check the contract for the version of AOS you are integrating with before treating an error as a retryable failure.