Create an AI provider
POST/v1/projects/:project_id/ai-providers
Creates a new LLM provider configuration.
A bedrock or vertex record must carry a credential of its own — a
linked secret_id, or an apiKey in config. Without one the provider
SDK signs with the server's own credentials (the AWS default credential
chain, Google Application Default Credentials), which is refused with
400 VALIDATION_FAILED unless the deployment allows it.
Request
Responses
- 201
- 400
- 401
- 403
- 500
AI provider created successfully
Bad request (invalid provider or missing fields)
Unauthorized
Forbidden
Internal server error