Rest API
Arize AI for Model Monitoring, Troubleshooting, and Explainability
Overview
Arize's APIs are the main ingresses for data which powers our platform. Most applications will use an existing SDK in the language of your choice, but it's important to know what the underlying API looks like first in case you want to work in a language without a current SDK implementation.
Authentication
Arize uses API keys in conjunction with a Space id in order to authenticate request. You will receive your keys once you sign up for our product.
Your API and Space id are the keys to your data castle so be sure to keep them secure. Do not share your keys in public forums including Github, StackOverflow, logs, etc.
The API key is authenticated via auth header, use -H 'Authorization: API_KEY_VALUE'
while the Space id is included on the body of the request
Response Codes
Arize uses conventional HTTP response codes to convey resulting success or failure of a given request. Codes in the 2XX
range indicate success, 4XX
range indicate content failure, 5XX
indicate errors with Arize's edge servers.
Status Code | Message | Reason |
---|---|---|
200 | OK | Success |
403 | cannot access request headers | Failure when accessing incoming request's headers |
403 | must provide authorization header� | Missing Authorization header |
403 | unable to validate authorization header | Space id is not valid |
403 | invalid api-key | API Key is not valid |
400 | log must include prediction or actual | Prediction or Actual is a required field and it's not present |
400 | invalid feature type | Feature data type is not supported |
400 | timestamp must range from now back to T-90 days | Record timestamp can only be backdated up to 90 days |
500 | Internal service error, contact Arize | Internal error processing messages - Contact Arize |
Full Record
To send an individual prediction record, you should hit Arize's log
API
https://api.arize.com/v1/log
Supported label types
Label | data type |
---|---|
"numeric" | double |
"score categorical" | Tuple (string, float) |
Request Example (numeric label)
Actual
To send an individual actual record, you should hit Arize's log
API
https://api.arize.com/v1/log
Supported label types
Label | data type |
---|---|
"numeric" | double |
"score categorical" | Tuple (string, float) |
Request Example (score categorical label)
Questions? Email us at support@arize.com or Slack us in the #arize-support channel
Last updated