Complete Upload
POST
https://api.youvico.com/api/generation-attachments/:id/upload.complete- MCP Tool
- Not Supported
- Rate Limit
- Tier 4
- Scope
- ai:generate
Completes a generation attachment upload. Available only in projects of the workspace your API key or connection belongs to, not in projects another workspace has linked to it.
Example
curl -X POST 'https://api.youvico.com/api/generation-attachments/GA1234567890ABCD/upload.complete' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{ "parts": [{ "partNumber": 1, "eTag": "etag-1" }] }'
Request
curl -X POST 'https://api.youvico.com/api/generation-attachments/GA1234567890ABCD/upload.complete' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"parts": [
{
"partNumber": 1,
"eTag": "etag-1"
}
]
}'
Response204 No Content
Request
Path
idstringrequiredGeneration attachment ID
Body
partsarrayrequiredAt least 1 item
Uploaded parts
parts[].partNumbernumberrequiredInteger, 1-10000
Part number
Example: 1
parts[].eTagstringrequired1-255 characters
ETag response header from the part's PUT
Example: etag-1
Response
Returns 204 No Content.