Authentication and scopes
#Send your workspace API key in the Authorization: Bearer YOUR_API_KEY header. This operation requires write.
See Authentication for key setup and project access.
Path parameters
#| Parameter | Type | Requirement | Details |
|---|---|---|---|
projectId | string | Required | Format: uuid. |
Request body
#| Parameter | Type | Requirement | Details |
|---|---|---|---|
engines | array of string | Required | Minimum items: 1. Maximum items: 20.Parameter schema |
Complete request body schema
{
"type": "object",
"properties": {
"engines": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"minItems": 1,
"maxItems": 20
}
},
"required": [
"engines"
],
"additionalProperties": false
}Example values are placeholders. Replace resource IDs, content, and revision values with your own before sending the request.
Response envelope
#Successful JSON responses return the operation’s result under data and a request identifier under meta.requestId. Collection results include their own pagination or coverage metadata. The payload inside data varies by operation.
The OpenAPI document defines shared success and error envelopes. It does not define every operation’s returned data fields or promise that every operation returns every listed success status. See the request and response guide and workflow examples for documented payloads.
Errors and retries
#Check the HTTP status and stable error.code. Keep meta.requestId when investigating a failed request. Follow Retry-After when it is present, and check existing job or resource state before retrying a write.
See Errors and limits for validation, permissions, conflicts, and temporary queue denials.