Skip to main content

AssignModelToProject

POST 

/v1/customers/:customer_id/projects/:project_id/models

AssignModelToProject allow-lists a catalog model for the project's gateway. Enabling a model in the organization catalog makes it available to grant, not callable: without this assignment the project gateway refuses the model. Where the project restricts providers (a non-empty project provider list, managed by the AdminService AddProjectProvider call), the model's provider must also be on that list. Idempotent: re-assigning a model is a no-op.

Request

Responses

Success