aidp-models-catalog — available models & parameters
Two distinct surfaces:
- Platform model catalog — what you can call from
ai_generate()/ agent flows (LAModelsAPI). - MLOps/MLflow registry — registered models + versions (the
aidp-mlopsgroup; see alsoaidp-mlops).
CLI (preferred) — registry browse: aidp mlops <command> --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region <r>
aidp mlops list-registered-models | get-registered-model | list-model-versions- (The official CLI folds the model registry into the
mlopsgroup — there is no separatemodelsgroup.)
Fallback (no CLI) / platform catalog: the LA Models REST API via oci raw-request (identical
endpoint + auth) — this is the verified path for resolving an ai_generate() model name.
Verify-first (no-fabrication): the platform
ModelsAPI is Limited Availability on20240831; the?modelType=list call is LIVE-VERIFIED 200 below. The MLOps registry side is Preview (not yet probed). Confirm a name with a live read before relying on it; record inreferences/rest-endpoint-map.md.
When to use
- "What models are available?", "what's the model name for
ai_generate?", "show model parameters", "list registered models / model versions".
Platform catalog — endpoints (DataLake-scoped; LA 20240831)
Base: https://aidp.<region>.oci.oraclecloud.com/20240831/dataLakes/<DATALAKE_OCID>/…
GET /models?modelType=<GENERATIVE_AI|BASE|EMBEDDING|LLM>— list installed models (LIVE-VERIFIED 200)GET /models/{id}— model detailGET /models/{id}/modelParameters— parameters
Workflow
- Platform catalog:
GET /models?modelType=GENERATIVE_AI(auth ladder; on 401/403 → session refresh) → present available model names/ids. Repeat withBASE/EMBEDDING/LLMto enumerate other catalogs.GET /models/{id}/…/modelParametersfor detail. - Registry browse:
aidp mlops list-registered-models→list-model-versions(CLI preferred). - Feed the confirmed model name to
aidp-ai-sql(ai_generate('<model>', …)) oraidp-agent-flows.
Notes
- Use this to resolve a real model name before
ai_generaterather than guessing one. - Read-only; no destructive ops.
- A bare
GET /modelsmay 400 on a required param — passmodelType(verified above) to enumerate. ai_generateavailability is independent of this catalog.GET /models?modelType=GENERATIVE_AIcan returnitems: []on a fresh instance whileai_generate('openai.gpt-5.4', …)still executes fine — the model is resolved at the Spark engine level, not via this REST catalog. An empty list here does not meanai_generateis unavailable. Confirm AI-in-SQL with the smoke test inaidp-ai-sql(a trivialSELECT ai_generate('<model>', 'hello')cell), not with this endpoint.
References
- references/aidp-cli-map.md · references/oci-raw-request.md · references/no-mcp-rest-map.md · references/rest-endpoint-map.md · pairs with
aidp-ai-sql,aidp-agent-flows,aidp-mlops


