List runs
curl --request GET \
--url https://api.sigmora.org/v1/autopilot-runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sigmora.org/v1/autopilot-runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sigmora.org/v1/autopilot-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"runs": [
{
"id": "<string>",
"projectId": "<string>",
"contentBrandId": "<string>",
"configId": "<string>",
"status": "queued",
"stage": "selecting_trend",
"requestedTrendId": "<string>",
"selectedTrend": {},
"topic": "<string>",
"plannedVideoCount": 4503599627370495,
"plannedDestinationCount": 4503599627370495,
"steps": [
{
"phase": "content",
"name": "<string>",
"status": "<string>",
"output": {},
"error": "<string>",
"costUsd": 123,
"observedAt": "2023-11-07T05:31:56Z"
}
],
"contentResult": {},
"distributionResult": {},
"pendingApproval": {},
"attempt": 123,
"error": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}List runs
List this workspace’s autopilot runs. Returns only runs whose project is currently visible to the API-key user. Follow nextCursor until null; a page may be empty when its bounded scan crossed only private runs.
GET
/
v1
/
autopilot-runs
List runs
curl --request GET \
--url https://api.sigmora.org/v1/autopilot-runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sigmora.org/v1/autopilot-runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sigmora.org/v1/autopilot-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"runs": [
{
"id": "<string>",
"projectId": "<string>",
"contentBrandId": "<string>",
"configId": "<string>",
"status": "queued",
"stage": "selecting_trend",
"requestedTrendId": "<string>",
"selectedTrend": {},
"topic": "<string>",
"plannedVideoCount": 4503599627370495,
"plannedDestinationCount": 4503599627370495,
"steps": [
{
"phase": "content",
"name": "<string>",
"status": "<string>",
"output": {},
"error": "<string>",
"costUsd": 123,
"observedAt": "2023-11-07T05:31:56Z"
}
],
"contentResult": {},
"distributionResult": {},
"pendingApproval": {},
"attempt": 123,
"error": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": false,
"error": "<string>",
"code": "invalid_request",
"details": "<unknown>",
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}Authorizations
A workspace API key.
Query Parameters
Only runs for this Brand. Get the id from GET /v1/brands → brands[].id; omit it for every Brand in the workspace.
Required string length:
1 - 200Example:
"brd_4b81"
How many runs to return. Between 1 and 100; defaults to 20.
Required range:
1 <= x <= 100Opaque continuation from nextCursor, bound to this user, workspace, and Brand filter.
Maximum string length:
1024