Get model details or invocation status
GET/ai/models/:model_id
Two distinct reads on the same path, selected by the action query parameter. The two modes return different fields; both are described by AIModelDetails. action=get_details (the default when action is omitted) returns the model's metadata: identity, status, parameters, modalities, supported inference types, adaptive-thinking capability, the Amorphic components the model is allow-listed for, and its cost tags. AdaptiveThinking is always present as a boolean. Effort is always present (an empty array for models without adaptive thinking). CostTags is always present and is an empty array when cost management is disabled for the environment. action=invoke returns the state of a single asynchronous invocation started by POST /ai/models/{model_id} and requires invocation_id. It returns UserInput, InvocationStatus, and InvocationTime, plus ModelResponse once the invocation has completed. No model metadata is returned in this mode. Poll until InvocationStatus is no longer IN_PROGRESS. Invocation records expire 30 days after creation; after that, lookup fails as an invalid invocation id.
Any other action value returns GE-1010 as a 400.
Request
Responses
- 200
- 400
- 500
Model metadata when action=get_details, or invocation state when action=invoke. ModelResponse is present only once the invocation has completed successfully.
Response Headers
Input validation failure. Body is {"Message": " -
Response Headers
Backend failure. Body is {"Message": " -