deployments

Get Deployment Route

Changed on
get/api/v1/deploy/{deployment_id}

Request

  • Base URL
    https://api.trajectory.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.trajectory.ai/api/v1/deploy/{deployment_id}
  • Auth
    none declared

Path parameters

deployment_idstring required

Response

Successful Response

deployment_idstring required

Deployment row id.

agent_idstring nullable

Owning agent; null for unassigned legacy deployments.

production_model_slugstring nullable

The owning agent production model slug; null until configured.

agent_namestring nullable

Owning agent display name; null for a deleted agent.

test_model_slugstring required

Exact test model slug owned by this deployment.

model_slug_idstring required

ID of this deployment test model slug row.

status'PENDING' | 'DEPLOYING' | 'DEPLOYED' | 'FAILED' | 'CANCELLING' | 'CANCELLED' required

Spanner deployment row status.

role'production' | 'test' required
is_activeboolean required

True when this deployment currently answers for the slug.

checkpoint_idstring required

Trajectory checkpoint selected when the deployment was created.

model_endpoint_idstring nullable

Model Endpoint serving this deployment.

base_model_slugstring required

Base model of the source checkpoint.

checkpoint_stepinteger required

Training step of the source checkpoint.

created_bystring nullable

Email of the user who requested this deployment.

completed_atstring date-time nullable

When the deployment first became DEPLOYED; unlike updated_at, later promote/demote transitions never overwrite this.

created_atstring date-time required

When the deployment was requested.

updated_atstring date-time nullable

Last lifecycle transition; null until the row first moves.

Changes

    • breaking

      removed the required property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      added the new CANCELLED enum value to the response property for the response status

    • warning

      added the new CANCELLING enum value to the response property for the response status