Skip to content
techrace/
TECHRACE DOCUMENTATION

Project & usage

Every endpoint in this group: what it needs, the fields it accepts (type, required, limits), what it returns and its errors.

List durable customer events

GET/api/v1/projects/{project_id}/eventsevents:read

Parameters

FieldTypeRequiredRules
cursor querystringNo
limit queryintegerNo1–100
customer_id queryuuidNo

Response 200

FieldTypeRequiredRules
dataobject[]Yes
next_cursorstring | nullYes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 502 Invalid stored result or inconsistent project/customer/operation binding; no private data returned
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/events" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"

Read operational counters and project allowances

GET/api/v1/projects/{project_id}/usageusage:read

Response 200

No fields.

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 502 Invalid stored result or inconsistent project/customer/operation binding; no private data returned
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/usage" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"

Read the one-plan account count, monthly price and synchronization state

GET/api/v1/projects/{project_id}/billingusage:read

Response 200

FieldTypeRequiredRules
pricingobjectYes
configuredbooleanYes
billingobjectYes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 502 Invalid stored result or inconsistent project/customer/operation binding; no private data returned
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/billing" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"

Read the connected account's profile and recent posts (Facebook Page, Instagram, Threads, YouTube channel) or Google account identity (Gmail). Read-only; nothing is stored

POST/api/v1/projects/{project_id}/content/queryanalytics:read

Request body

FieldTypeRequiredRules
customer_iduuidYes
connection_iduuidYes
limitintegerNo1–25

Response 200

FieldTypeRequiredRules
providerenumYesone of: "facebook", "instagram", "threads", "youtube", "gmail"
connection_iduuidYes
profileobjectYes
itemsobject[]Yes
fetched_atstring (date-time)Yes
read_onlytrueYes
content_is_untrustedtrueYes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/content/query" \
  -H "Authorization: Bearer $TECHRACE_API_KEY" \
  -H "Content-Type: application/json" \
  --data @- <<EOF
{
  "customer_id": "$CUSTOMER_ID",
  "connection_id": "$CONNECTION_ID"
}
EOF

Read researched social and ads backlog; planned does not mean implemented

GET/api/v1/catalog

Response 200

No fields.

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 503 Maintenance mode or required service configuration unavailable
Request
curl
curl -X GET "https://YOUR_DOMAIN/api/v1/catalog" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"

Find your project ID: returns the project (and key details) for the API key in the Authorization header

GET/api/v1/me

Response 200

FieldTypeRequiredRules
project_iduuidYes
project_namestringYes
keyobjectYes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X GET "https://YOUR_DOMAIN/api/v1/me" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"
Response
JSON
{
  "project_id": "2c5e8a1f-4b7d-4e93-a160-8d3f9b2c7e41",
  "project_name": "My workspace",
  "key": {
    "id": "7a1d3c9e-5f2b-4c80-9e64-1b8d0f3a6c25",
    "scopes": [
      "customers:read",
      "connections:read"
    ],
    "customer_id": null
  }
}

Read implemented operations and configuration-only readiness; not provider approval or live health

GET/api/v1/capabilities

Response 200

FieldTypeRequiredRules
versionstringYes
providersobject[]Yes
unavailable_capabilitiesstring[]Yes
partially_supported_capabilitiesobject[]Yes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 503 Maintenance mode or required service configuration unavailable
Request
curl
curl -X GET "https://YOUR_DOMAIN/api/v1/capabilities" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"