Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

API reference

Authenticate with the Artie API

Create an API key, choose what it can reach, and send an authenticated request to manage pipelines, connectors, and other resources from code.

Send requests to https://api.artie.com.

Authentication

Every request needs an API key in the Authorization header, sent as a bearer token:

http
Authorization: Bearer YOUR_API_KEY

YOUR_API_KEY is the secret Artie shows when you create the key. It starts with arsk_.

A request with a missing, invalid, or expired key returns 401 with the message not authenticated. The MCP server uses OAuth and doesn’t accept API keys.

Create an API key

Only workspace admins can create, edit, or delete API keys.

  1. In the Artie dashboard, go to Settings > Developer tools > API keys.
  2. Select New API key.
  3. Enter a Name.
  4. Under Environment access, select All environments, or select One environment and choose the Environment.
  5. Under Access, select Scoped access and the Scopes the key needs, or select Full access.
  6. Select Generate API key. The dashboard shows the secret.
  7. Copy the secret and store it in a secret manager.

Artie shows the secret once and doesn’t store the full key. If you lose it, delete the key and create a new one.

API key access

Two settings decide what a key reaches. All environments and Scoped access are the defaults.

SettingOptionWhat the key reaches
Environment accessAll environmentsEvery environment, plus workspace-wide resources: Kafka, encryption keys and column hashing salts
Environment accessOne environmentResources in the selected environment only
AccessScoped accessOnly the operations you select under Scopes
AccessFull accessEvery operation, including operations added to the API later. A key limited to One environment still can’t reach Kafka, encryption keys or column hashing salts
AccessFull access with Read-onlyReads only, with no access to Kafka, encryption keys, or column hashing salts

A request outside the key’s access returns 403 with the message permission denied.

Scopes

A scoped key needs at least one scope. Each scope is a resource and an action, such as pipelines:read.

ResourceScopesEnvironment access
Pipelinespipelines:read, pipelines:write, pipelines:deleteAny
Connectorsconnectors:read, connectors:write, connectors:deleteAny
Data catalogdata_catalog:readAny
Source readerssource_readers:read, source_readers:write, source_readers:deleteAny
Encryption keysencryption_keys:read, encryption_keys:write, encryption_keys:deleteAll environments only
Column hashing saltscolumn_hashing_salts:read, column_hashing_salts:write, column_hashing_salts:deleteAll environments only
Ingestion API keysingestion_api_keys:write, ingestion_api_keys:deleteAny
SSH tunnelsssh_tunnels:read, ssh_tunnels:write, ssh_tunnels:deleteAny
PrivateLink connectionsprivate_link_connections:read, private_link_connections:write, private_link_connections:deleteAny
Snowflake eco schedulessnowflake_eco_schedules:read, snowflake_eco_schedules:write, snowflake_eco_schedules:deleteAny
Kafka clusters and topicskafka:read, kafka:write, kafka:deleteAll environments only
Kafka userskafka_users:read, kafka_users:write, kafka_users:deleteAll environments only
Kafka admin userskafka_admin_users:read, kafka_admin_users:write, kafka_admin_users:deleteAll environments only

Set an expiration

New keys don’t expire. To add an expiration:

  1. Go to Settings > Developer tools > API keys.
  2. Select Edit API key on the key’s row.
  3. Set Expiration (optional).
  4. Select Save.

After the expiration passes, requests with the key return 401, and the expiration can’t be changed.

Verify your API key

List your pipelines from a terminal. A scoped key needs the pipelines:read scope.

Bash
curl https://api.artie.com/pipelines \
  -H "Authorization: Bearer YOUR_API_KEY"

Replace YOUR_API_KEY with your secret. The request returns 200 and a list of your pipelines. The Last used column on the API keys page updates.

API changes

We add endpoints and fields over time, so ignore fields you don’t recognize. The API reference marks fields that are being phased out as deprecated. If Artie changes or discontinues a feature, it notifies you, as set out in the Terms of Service.

  • Terraform provider: manage pipelines and connectors as code. The API requires provider version 2.0.0 or later.
  • MCP server: let AI tools such as Cursor, Claude Code, and Codex manage pipelines and connectors.
  • Environments: isolate resources across dev, staging, and production.

Was this page helpful?