Replace providers for a prompt
Replaces the full provider list for a prompt. The previous provider assignments are discarded.
PUT /prompts/{promptId}/providers
Replace providers for a prompt
Replaces the full provider list for a prompt. The previous provider assignments are discarded.
Authentication: API key required (Bearer token)
Parameters
| Name | In | Required | Description |
|---|---|---|---|
promptId | path | Yes | Prompt ID to operate on. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
providers | array | Yes | Full provider list that replaces existing providers for this prompt. |
Request Example
curl -X PUT https://sellm.io/api/v1/prompts/example_id/providers \
-H "Authorization: Bearer sellm_your_api_key_here" \
-H "Content-Type: application/json"
Responses
| Status | Description |
|---|---|
200 | Prompt providers updated |
400 | Bad request |
401 | Unauthorized |
403 | Prompt limit exceeded |
404 | Prompt not found |
429 | Rate limited |
500 | Internal error |