Queue one provider action atomically with quota and idempotency
POST
/api/v1/projects/{project_id}/executionsexecutions:writeParameters
| Field | Type | Required | Rules |
|---|---|---|---|
Idempotency-Key header | string | Yes | length 8–120 |
Request body
| Field | Type | Required | Rules |
|---|---|---|---|
customer_id | uuid | Yes | |
connection_id | uuid | Yes | |
action | "publish" | Yes | |
input | object | Yes | |
input.content | string | Yes | length 0–65000 |
input.title | string | No | length 0–160 |
input.media_ids | uuid[] | No | 0–10 items |
input.options | object | No | |
execute_at | string (date-time) | No |
Response 202
| Field | Type | Required | Rules |
|---|---|---|---|
execution | object | Yes | |
replay | boolean | No |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After502Invalid stored result or inconsistent project/customer/operation binding; no private data returned503Maintenance mode or required service configuration unavailable
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/executions" \
-H "Authorization: Bearer $TECHRACE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: post-2026-11-14-001" \
--data @- <<EOF
{
"customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
"connection_id": "3b7e9d12-5c4a-4f8e-8b21-6a0d2c9e7f34",
"action": "publish",
"input": {
"content": "Fresh croissants every morning 🥐",
"media_ids": [
"e9a2c5d1-7f3b-4c86-b014-5d2e8a1f6c73"
]
}
}
EOF{
"execution": {
"id": "c41d7e2a-9b85-4f10-a3d6-2e8f1b7c5a90",
"customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
"connection_id": "3b7e9d12-5c4a-4f8e-8b21-6a0d2c9e7f34",
"action": "publish",
"status": "queued",
"attempts": 0,
"available_at": "2026-11-14T10:00:00.000Z",
"external_id": null,
"external_url": null,
"provider_data_erased_at": null,
"error_code": null,
"created_at": "2026-11-14T10:00:00.000Z"
}
}List execution results
GET
/api/v1/projects/{project_id}/executionsexecutions:readParameters
| Field | Type | Required | Rules |
|---|---|---|---|
cursor query | string | No | |
limit query | integer | No | 1–100 |
customer_id query | uuid | No |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
data | object[] | Yes | |
next_cursor | string | null | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After502Invalid stored result or inconsistent project/customer/operation binding; no private data returned503Maintenance mode or required service configuration unavailable
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/executions" \
-H "Authorization: Bearer $TECHRACE_API_KEY"Read an execution and its actual provider receipt
GET
/api/v1/projects/{project_id}/executions/{execution_id}executions:readParameters
| Field | Type | Required | Rules |
|---|---|---|---|
execution_id path | uuid | Yes |
Response 200
| Field | Type | Required | Rules |
|---|---|---|---|
execution | object | Yes |
Errors
400Invalid request401Authentication required402Billing activation or published usage allowance required403Project, role or scope denied409State, ownership, idempotency or configuration conflict429Rate limit; respect Retry-After502Invalid stored result or inconsistent project/customer/operation binding; no private data returned503Maintenance mode or required service configuration unavailable
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/executions/c41d7e2a-9b85-4f10-a3d6-2e8f1b7c5a90" \
-H "Authorization: Bearer $TECHRACE_API_KEY"{
"execution": {
"id": "c41d7e2a-9b85-4f10-a3d6-2e8f1b7c5a90",
"customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
"connection_id": "3b7e9d12-5c4a-4f8e-8b21-6a0d2c9e7f34",
"action": "publish",
"status": "succeeded",
"attempts": 1,
"available_at": "2026-11-14T10:00:00.000Z",
"external_id": "1122334455_998877665544",
"external_url": "https://www.facebook.com/1122334455_998877665544",
"provider_data_erased_at": null,
"error_code": null,
"created_at": "2026-11-14T10:00:00.000Z"
}
}