Commanders Act Sources Data Quality API
The Sources Data Quality API from Commanders Act — 1 operation(s) for sources data quality.
The Sources Data Quality API from Commanders Act — 1 operation(s) for sources data quality.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/commanders-act:commanders-act-sources-data-quality-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: CommandersAct Sources Data Quality API
contact:
name: Commanders Act
url: https://www.commandersact.com/
description: '## Information
This is the CommandersAct API Documentation.
This API uses JSONAPI specification to fetch, create and modify the resources, and to format responses.
It is highly recommended that you send multiple objects in one HTTP request. This API allows streaming using newline separated JSON format or ndjson
## Rate-limits
- You may send up to 30 requests per second
- You may have up to 30 concurrent connections
- If you send many conversions/products/etc. in bulk, the upload speed will be limited to 30 conversions/products/etc. per second
### Rate limiting examples
- If you send 1 conversion per request you will be limited to 30 requests per second
- If you send 90 conversions in one request your upload will be completed in about 3 seconds
- If you send 40 requests, each with one conversion in the same second, 30 of them will be processed and 10 of them will be rejected
- If you send 3 requests, each with 100 conversions they will be completed in 10 seconds
## Date formats
Use the long format with timezone for passing ISO-8601 dates. The following formats are accepted:
- "2019-04-29T13:47:47.315Z"
- "2019-04-29T13:47:47Z"
- "2019-04-29T13:47:47.315+02:00"
- "2019-04-29T13:47:47+02:00"
## Errors
Errors are always returned as an array of objects in the top-level "errors" property.
### Errors in bulk operations
For bulk operations you may have "errors" and "data" properties at the same time since some objects may have errors while others may not. Bulk errors are aggregated which means there won''t be an error for each instance of an error but one error for each type of error with the number of occurrences and some examples of line numbers or ids.
{
"errors": [
{
"code": "YOU_CAN_CHECK_THIS_IN_CODE",
"detail": "This explains the error",
"meta": {
"context_property_example": "value_example",
"error_count": 3,
"line_numbers": [34, 45],
"ids": [
"c9017b85-8016-4f13-88b4-18d57c67b866",
"12e0c3cb-7e8d-462f-9232-f7c61a900738"
]
}
}
]
"data": {
"accepted_object_count": 4,
"rejected_object_count": 3
}
}
### Error object
Error objects have the following properties
Property
Type
Required
Description
code
string
true
Always present and contains error code that can be checked programmatically
detail
string
true
Human readable message that explains the problem. You should not check the value of this property programmatically because it may change
meta
object
false
Error specific object that contains details about what generated the error
# Authentication
-->'
version: 2.0.0
x-logo:
url: ./static/img/ca-logo.png
altText: Commanders Act
href: https://www.commandersact.com/
servers:
- url: https://api.commander1.com/v2/{siteId}
description: Production server
variables:
siteId:
default: '7'
description: this value is your site ID
security:
- UserAuthentication: []
tags:
- name: Sources Data Quality
x-displayName: Sources Data Quality
paths:
/monitoring/sources-data-quality:
get:
tags:
- Sources Data Quality
summary: Sources Data Quality
operationId: MonitoringSourcesDataQuality
description: '### Usage
Fetch statistics about events collections across one or multiple sources'
parameters:
- in: query
name: source
schema:
type: string
default: null
required: false
description: Id of a source to filter stats with
responses:
'200':
content:
application/vnd.api+json:
schema:
properties:
data:
type: object
properties:
type:
type: string
attributes:
type: object
properties:
eventNames:
type: array
items:
type: string
validation:
type: object
properties:
statuses:
type: object
properties:
<eventName>:
type: array
anomalies:
type: object
properties:
<eventName>:
type: array
collection:
type: object
properties:
total:
type: number
sources:
type: array
example:
data:
type: monitoring/sources/data-quality-report
attributes:
eventNames:
- page_view
- puchase
validation:
statuses:
page_view:
- - dateTime
- collected
- normalized
- - '2022-06-19 15:45:00.000000000'
- 154
- 154
- - '2022-06-19 16:00:00.000000000'
- 1321
- 1321
purchase: []
anomalies:
page_view:
- level: warn
count: 74216
path: properties.page_type
message: page_view event requires .page_type property
sample: '{"location":"https://www.domain.com/category/80076604.html"}'
date: '2022-06-20 15:57:02.253000000'
purchase: []
collection:
total: 140201
sources:
- reference: bac8f6f9-823d-823d-823d-bac8f6f9
count: 99166
integration:
label: container body
integration_type: sources
environment: prod
version: '2.00'
has_undeployed_changes: true
last_run: null
last_deployment: 1643828424745
health: 90
status: active
trend:
- timestamp: 1111
value: 90
- timestamp: 1112
value: 80
- timestamp: 1113
value: 85
description: Successful
'403':
description: API caller does not have access to this resource
content:
application/vnd.api+json:
example:
errors:
- code: SITE_ACCESS_FORBIDDEN
detail: You cannot access this site
'500':
description: Internal server error
content:
application/json:
example:
errors:
- code: SERVER_ERROR
detail: An internal error occurred. Please contact our support team support@commandersact.com
x-codeSamples:
- lang: Shell
source: "http GET 'https://api.commander1.com/v2/REPLACE_SITEID/monitoring/sources-data-quality?source=SOME_STRING_VALUE' \\\n Authorization:'Bearer REPLACE_BEARER_TOKEN'"
- lang: Shell
source: "curl --request GET \\\n --url 'https://api.commander1.com/v2/REPLACE_SITEID/monitoring/sources-data-quality?source=SOME_STRING_VALUE' \\\n --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"
- lang: Node
source: "const http = require(\"https\");\n\nconst options = {\n \"method\": \"GET\",\n \"hostname\": \"api.commander1.com\",\n \"port\": null,\n \"path\": \"/v2/REPLACE_SITEID/monitoring/sources-data-quality?source=SOME_STRING_VALUE\",\n \"headers\": {\n \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n }\n};\n\nconst req = http.request(options, function (res) {\n const chunks = [];\n\n res.on(\"data\", function (chunk) {\n chunks.push(chunk);\n });\n\n res.on(\"end\", function () {\n const body = Buffer.concat(chunks);\n console.log(body.toString());\n });\n});\n\nreq.end();"
components:
securitySchemes:
UserAuthentication:
type: http
description: "This authenticate user to use the API\nYou MUST send the token for each request in the Authorization header. The token MUST be preceeded by Bearer.\n\n```HTTP\n GET https://api.commander1.com/v2/{siteId}/users HTTP/1.1\n Host: api.commander1.com\n Authorization: Bearer {mySecretToken}\n```\n> You should replace \"\\{mySecretToken\\}\" in example with your Token.\n\n> You should replace \"\\{siteId\\}\" in example with your Site ID.\n"
scheme: bearer
bearerFormat: JWT
DataAuthentication:
type: http
description: "This authenticate Data Account to use the API\nThe API uses Token to authenticate its user.\nYou MUST send the token for each request in the Authorization header. The token MUST be preceeded by Bearer.\n\n```HTTP\n GET https://api.commander1.com/v2/{siteId}/users HTTP/1.1\n Host: api.commander1.com\n Authorization: Bearer {mySecretToken}\n```\n> You should replace \"\\{mySecretToken\\}\" in example with your Token.\n\n> You should replace \"\\{siteId\\}\" in example with your Site ID.\n"
scheme: bearer
bearerFormat: JWT
x-tagGroups:
- name: Integrations
tags:
- Sources
- Destinations
- Cleansing transformations
- name: Enrichments
tags:
- Event enrichments
- name: Health
tags:
- Event Delivery
- Sources Data Quality
- Monitoring
- Cookie Scanner
- name: Customers
tags:
- Segments
- Identities
- name: Explore
tags:
- Live Report Builder
- Consent Analysis
- name: Data-Management
tags:
- Event Specification
- name: Client-side Tag Management
tags:
- Web Containers
- Web Containers Variables
- name: Server-side Tag Management
tags:
- Server-side Containers V1 (deprecated)
- Server-side Containers V1 Variables (deprecated)
- name: Admin
tags:
- AdminActivityLogs
- AdminBillingCategories
- AdminBillingFeatures
- AdminBillingSubscriptionPeriods
- AdminBillings
- Mix collect redirect rules
- Users
- Workspaces
- name: Data Governance
tags:
- Storage Settings
- name: Platform
tags:
- PlatformGatewayConfigurations