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:
Authorization: Bearer YOUR_API_KEYYOUR_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.
- In the Artie dashboard, go to Settings > Developer tools > API keys.
- Select New API key.
- Enter a Name.
- Under Environment access, select All environments, or select One environment and choose the Environment.
- Under Access, select Scoped access and the Scopes the key needs, or select Full access.
- Select Generate API key. The dashboard shows the secret.
- 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.
| Setting | Option | What the key reaches |
|---|---|---|
| Environment access | All environments | Every environment, plus workspace-wide resources: Kafka, encryption keys and column hashing salts |
| Environment access | One environment | Resources in the selected environment only |
| Access | Scoped access | Only the operations you select under Scopes |
| Access | Full access | Every 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 |
| Access | Full access with Read-only | Reads 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.
| Resource | Scopes | Environment access |
|---|---|---|
| Pipelines | pipelines:read, pipelines:write, pipelines:delete | Any |
| Connectors | connectors:read, connectors:write, connectors:delete | Any |
| Data catalog | data_catalog:read | Any |
| Source readers | source_readers:read, source_readers:write, source_readers:delete | Any |
| Encryption keys | encryption_keys:read, encryption_keys:write, encryption_keys:delete | All environments only |
| Column hashing salts | column_hashing_salts:read, column_hashing_salts:write, column_hashing_salts:delete | All environments only |
| Ingestion API keys | ingestion_api_keys:write, ingestion_api_keys:delete | Any |
| SSH tunnels | ssh_tunnels:read, ssh_tunnels:write, ssh_tunnels:delete | Any |
| PrivateLink connections | private_link_connections:read, private_link_connections:write, private_link_connections:delete | Any |
| Snowflake eco schedules | snowflake_eco_schedules:read, snowflake_eco_schedules:write, snowflake_eco_schedules:delete | Any |
| Kafka clusters and topics | kafka:read, kafka:write, kafka:delete | All environments only |
| Kafka users | kafka_users:read, kafka_users:write, kafka_users:delete | All environments only |
| Kafka admin users | kafka_admin_users:read, kafka_admin_users:write, kafka_admin_users:delete | All environments only |
Set an expiration
New keys don’t expire. To add an expiration:
- Go to Settings > Developer tools > API keys.
- Select Edit API key on the key’s row.
- Set Expiration (optional).
- 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.
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.
Related
- 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?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.