cURL
curl --request PATCH \ --url https://api.example.com/api/resources/{id} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "status": "<string>" } '
{ "data": { "resource": { "id": 1, "project_id": 4, "name": "checkout-flow.docx", "description": null, "status": "uploaded", "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "size_bytes": 245000, "created_by": "user-id", "created_at": "2026-03-20T10:30:00Z", "updated_at": "2026-03-20T10:30:01Z" } } }
Update a resource name, description, or confirm upload
status
"uploaded"
Bearer <your-api-key>
Show properties
pending
uploaded
curl -X PATCH \ https://dash.empirical.run/api/resources/1 \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $EMPIRICALRUN_KEY" \ -d '{"status": "uploaded"}'
curl -X PATCH \ https://dash.empirical.run/api/resources/1 \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $EMPIRICALRUN_KEY" \ -d '{"name": "checkout-flow-v2.docx"}'
Was this page helpful?