Public API integration
Authenticate a project integration
Section titled “Authenticate a project 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.
Choose the key access level
Section titled “Choose the key access level”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.
Use the API specification
Section titled “Use the API specification”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.