Models API
For a brief overview of GraphQL itself, please consult our introduction.
Querying for Models
Models belong to a Space
. Because of this, you can either query for models off of a Space
node or a Model
node directly.
The ModelsConnection
off of Space
provides a convenient way for you to pull models that match the given criteria. If you have a large number of models, you will have to use pagination to pull the complete list. This data can then be structured to your liking and be exported to the platform of your choosing.
Model Versions
You can query for modelVersions
using the model node. If you have a large number of versions, you will have to use pagination to pull the complete list.
Variables
Model Schema
You can query your model's schema through the Arize GraphQL API. The ModelSchema
type contains important information about your models such as features
, tags
, predictions
and actuals
which is useful when programmatically creating Monitors.
For more examples see the Monitors API documentation.
Tracing Schema
You can query your project's schema through Arize GraphQL API. The tracingSchema
type contains important information about your application such as spanProperties
, llmEvals
, and annotations.
Variables
Dimension Configuration
You can query binning information relating to your model's features
, actuals
, predictions
and tags
.
Dimension Details
```graphql query getDimensionDetails($modelId: ID!) { node(id: $modelId) { ... on Model { name tracingSchema { spanProperties(first: 50, searchTerm:$dimensionName) { edges { node { dimension { id name dataType category
} }
Last updated
Was this helpful?