Inference API
- POSTπ Inference by environment
- POSTProduction deployment
- POSTDevelopment deployment
- POSTPublished deployment
- OpenAI compatible endpoints
- Wake deployment endpoints
- Deprecated endpoints
Async Inference API
Management API
- GETGet all secrets
- POSTUpsert a secret
- π Manage model environments
- π Manage chain environments
- GETGet instance types
- Get models
- DELDelete models
- Get chains
- DELDelete chains
- Get model deployments
- DELDelete model deployments
- Get chain deployments
- DELDelete chain deployments
- Promote deployment
- Update model deployment autoscaling settings
- Activate model deployment
- Deactivate model deployment
Get chain environment
Gets a chain environmentβs details and returns the chain environment.
Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Response
Environment for oracles.
Unique identifier of the chain
Environment settings for the chainlets
Autoscaling settings for the chainlet. If null, it has not finished deploying
Timeframe of traffic considered for autoscaling decisions
Number of requests per replica before scaling up
Maximum number of replicas
Minimum number of replicas
Waiting period before scaling down any active replica
Name of the chainlet
Instance type for the chainlet
Number of GPUs on the instance type
Memory limit of the GPU on the instance type in Mebibytes
Type of GPU on the instance type
Identifier string for the instance type
Memory limit of the instance type in Mebibytes
CPU limit of the instance type in millicpu
Display name of the instance type
Time the environment was created in ISO 8601 format
Current chain deployment of the environment
Unique identifier of the chain
Chainlets in the chain deployment
Number of active replicas
Autoscaling settings for the chainlet. If null, it has not finished deploying
Timeframe of traffic considered for autoscaling decisions
Number of requests per replica before scaling up
Maximum number of replicas
Minimum number of replicas
Waiting period before scaling down any active replica
Unique identifier of the chainlet
Name of the instance type the chainlet is deployed on
Name of the chainlet
Status of the chainlet
BUILDING
, DEPLOYING
, DEPLOY_FAILED
, LOADING_MODEL
, ACTIVE
, UNHEALTHY
, BUILD_FAILED
, BUILD_STOPPED
, DEACTIVATING
, INACTIVE
, FAILED
, UPDATING
, SCALED_TO_ZERO
, WAKING_UP
Time the chain deployment was created in ISO 8601 format
Environment the chain deployment is deployed in
Unique identifier of the chain deployment
Status of the chain deployment
BUILDING
, DEPLOYING
, DEPLOY_FAILED
, LOADING_MODEL
, ACTIVE
, UNHEALTHY
, BUILD_FAILED
, BUILD_STOPPED
, DEACTIVATING
, INACTIVE
, FAILED
, UPDATING
, SCALED_TO_ZERO
, WAKING_UP
Name of the environment
Promotion settings for the environment
Duration of the ramp up in seconds
Whether to ramp up traffic while promoting
Whether to deploy on all promotions. Enabling this flag allows model code to safely handle environment-specific logic. When a deployment is promoted, a new deployment will be created with a copy of the image.
Was this page helpful?