codeOverview

Build integrations and automate workflows with the Kognitos REST API.

The Kognitos REST API lets you programmatically manage automations, trigger runs, monitor exceptions, and more. Use it to integrate Kognitos into your existing systems, build custom dashboards, or automate operational workflows.

Base URL

https://app.us-1.kognitos.com/api/v1
circle-info

All API paths in this documentation are relative to the base URL above.

Authentication

Every request requires a Personal Access Token (PAT) in the Authorization header:

Authorization: Bearer YOUR_API_KEY

PATs are created from the Kognitos UI. See API Keys for setup instructions.

Quick Start

Prerequisites

  • A Kognitos account with at least one published automation

1. Verify Your Key

Test your API key by listing your organizations:

Copy the organization ID from the name field (the part after organizations/). You will need it for all subsequent calls.

2. List Workspaces

Find the workspace that contains your automations:

Copy the workspace ID from the name field (the part after workspaces/).

3. Invoke an Automation

Start a run of your automation:

circle-info

Use AUTOMATION_STAGE_PUBLISHED for production runs. Use AUTOMATION_STAGE_DRAFT to test a draft version.

4. Check Run Status

Monitor your run until it completes:

Run States

State
Meaning

pending

Run is queued, waiting to start

running

Run is actively executing

completed

Run finished successfully (includes outputs)

failed

Run encountered an unrecoverable error

waiting

Run is paused, waiting for input or guidance

Resource Names

Resources use hierarchical names that encode their parent relationships:

Most endpoints require organization_id and workspace_id as path parameters. You can find these IDs by listing your organizations and workspaces.

Pagination

List endpoints return paginated results. Use page_size and page_token to navigate:

Filtering

Many list endpoints support filtering with the filter query parameter, following the AIP-160arrow-up-right standard:

Errors

The API returns standard HTTP status codes:

Code
Meaning

200

Success

400

Bad request (invalid parameters)

401

Unauthorized (missing or invalid API key)

403

Forbidden (insufficient permissions)

404

Resource not found

429

Rate limited

500

Internal server error

Last updated

Was this helpful?