Before opening Connie Settings: while a new workspace’s first run is unfinished, Settings sends you back to it: answer its two questions, then reopen Settings. Direct Settings links follow the same check. New workspaces start with a free setup with Sam, with no card or trial. Billing (
?tab=plans) remains available during setup. See Settings access during setup.- Base URL:
https://api.connie.ai. Code written for the earlier address,https://conigma-tool-server-production.up.railway.app, keeps working. - Sign-in: a workspace API key, sent as
Authorization: Bearer sk_…. Your Personal key works as is. - Reference: every endpoint and field is in the Tool API reference.
Use this API from a server. Never put an API key in a browser app or a mobile app: anyone who reads the key can spend the workspace’s credits.
How it works
1
Find the tool
GET /api/tools?query=instagram profile returns matching tools, best first. Searching is free.2
Read its inputs and price
GET /api/tool/{toolId} returns the inputSchema (JSON Schema), whether your key can run it (availability), whether it needs a connected account (connection) and what it costs (pricing). This is free and runs nothing.3
Run it
POST /api/tool/{toolId} with {"input": {…}} and an Idempotency-Key header. Successful calls that end within 25 seconds answer 200 with the result. Failures return the error codes below. Longer calls answer 202 and keep running.4
Get the outcome of a long call
Poll
GET /api/tool-invocations/{invocationId} every few seconds (it answers 202 until the call ends), or pass a webhook URL when you run the tool and Connie POSTs the outcome to it. See Webhooks.Quickstart
- curl
- Node.js
- Python
Manage personal Memory
Use the four Memory tools to set up preferences from a script and remove them afterwards. They manage the same entries shown in Settings → Memory, without requiring a Connie conversation.memory-list returns active entries only. Follow nextOffset until it is null to read the full list. The six category values are identity, preference, project_fact, relationship, constraint, and workflow_pref (shown as Flow in Settings). Text must be nonblank and at most 400 characters after trimming.
Use a key linked to the workspace member whose memories you want to manage, such as your Personal key. The key determines the workspace and member: do not send workspaceId, userId, or scope in the input. To manage your memories in a different workspace, use a key for that workspace. A key without an execution member cannot use these tools. Managed apps cannot access personal Memory through their editor’s identity.
Using the runTool helper above:
memory-update to edit an existing one. Deletion is permanent, unlike the archiving done by memory-forget in chat. Missing entries and entries you cannot access are both refused without exposing another person’s memory.
Changes appear when you reload Settings and are used in the next conversation that only you read, such as your DM with an agent, for the same member and workspace. Memory must be on for that conversation to use them; the existing 40-entry limit still applies. You can manage entries while Memory is off. These tools do not change automatic learning or Agent memory. See Memory.
Find people with Lead Finder and Find People at Company
find-people-at-company-advanced and lead-finder-people run with a key linked to a workspace member, such as your Personal key. A key without an execution member, an app guest and a managed app get 403 execution_identity_required.
find-people-at-company-advanced returns the people it found and saves nothing. Its price is a base fee plus at most one Company Identity lookup, with AI usage billed on top: GET /api/tool/find-people-at-company-advanced shows the ceiling. Its receipt has a line for the base fee, one for a Company Identity lookup when it ran one, and one for its AI usage (model-usage). The people searches it runs itself are part of the base fee and are never billed separately.
lead-finder-people saves people to a List, so it works in two steps, as it does over MCP:
- Call it with your filters and no
mode(or"mode": "preview"). The result has the match count, up to 20 sample people, the credit cost of each quantity and aconfirmationToken. Nothing is imported or charged. - Call it again with
"mode": "import", the same filters,limit(how many people),listNameorlistId,"userConfirmedImport": true, theconfirmationTokenfrom step 1, andconfirmedCreditCostwhen the import is paid. Use a newIdempotency-Keyfor this step.
lead-import line with the credits the import was charged, for the people actually added (an import that adds fewer than 1,000 people is free, so a free import has no line). Sending the import again with the same Idempotency-Key returns the same receipt and charges nothing.
findEmail and findPhone can’t be bundled into the import: find contact details afterwards with the dedicated tools.
Retry safely with idempotency keys
Every run needs anIdempotency-Key header: 8 to 200 characters (letters, digits and . _ : ~ + / = -), one per logical operation. A UUID you generate and store with your job works well.
- Same key, same request: Connie returns the original operation, marked
"replayed": true, and runs and charges nothing again ("chargedThisRequest": 0). Use this when a response was lost or timed out. If nothing ran anderror.retryableistrue, the same key lets Connie try the operation again. - Same key, different input or webhook:
409 idempotency_conflict. Nothing runs. - New key: a new run, charged again.
- Free reads are always live: a tool that only reads and costs nothing, such as
billing-get-credits, runs again on every request, even with a key you already used, and returns a new operation with"replayed": false. A balance or other live value is never a stored copy. Paid reads and anything that changes data or sends keep the replay above. - Keys and outcomes are kept for 24 hours. After that, the same key answers
409 replay_expiredand never runs again.
Outcomes
Running or polling a tool returns an operation: the outcome, or an error with the same shape. Search, tool details and webhook-secret endpoints return their own response shapes. On search, authentication errors can instead use{"error":"message","code":"api_key_required"}; check the HTTP status before reading the body.
billing.chargedCredits is what the call cost, every credit it moved, counted once; billing.items has a line per charge: the tool you called, each priced tool it ran itself, and charges a tool makes on its own, such as AI usage (model-usage) or a Lead Finder import (lead-import). The same receipt is on the response, on every poll and in the webhook. Polling an operation reads it with "replayed": false and no chargedThisRequest: a poll repeats no request and charges nothing, so a slow first run never reads as a replay. "replayed": true appears only when you send the same request again with the same key. The price from GET /api/tool/{toolId} is an estimate: the receipt is the charge.
Connie keeps running a call through its own server restarts. A call already running when Connie deploys finishes on the old server. Calls Connie knows only read from the web or a data provider (scrapes, dataset collections, searches, lookups) and are interrupted by a crash run once more automatically, and are charged once. A call that writes or sends, or one Connie can’t confirm only reads, is never run twice: if its outcome is lost it reads
unknown_outcome.Errors you can retry
For anot_executed response with error.retryable: true, wait for the Retry-After header, then send the same request with the same Idempotency-Key. Examples include:
Do not retry based only on HTTP
503 or the presence of Retry-After. feature_unavailable means new tool operations are disabled for the workspace; invalid_schema means the tool’s editor must fix its schema. Both have error.retryable: false. Contact support for feature_unavailable, or the tool’s editor for invalid_schema, before trying again.
The full list of codes and limits is in Errors and limits.
Limits
Over a limit you get
429 with Retry-After, and nothing runs. See Plans.
Good to know
- Permissions: a key acts as one workspace member and can run what that member can, with their connected accounts. Tools that need a connected account say so in
connection; connect the account in Connie first, then pass its account id (theaccountIdthatworkflow-list-accountsreturns) in the tool’s account field, for exampleaccountIdfor the LinkedIn search import orsenderUrlfor a LinkedIn action. See API keys. - Workflow steps are saved as sent: a step you add or edit through the API keeps exactly the account and sender fields you pass. Connie doesn’t fill in an account for you, as the chat, MCP and the app do. Pass the account identifier from
workflow-list-accounts, or leave it empty to choose it later in Connie. - Tool ids are case-sensitive. URL-encode them once:
/becomes%2F. - Credits: API runs show in the credit usage log as coming from an API key. See Credits.
- Browsers: the API answers cross-origin requests, but don’t call it from a browser with a real key. Run it from your server.
Related
Read chat Context files
file-read can discover posted uploads with operation: "list", or find file names and descriptions with operation: "search" and query. Supply a conversationId you can read when calling outside that conversation. Results contain file names, short descriptions, stable attachmentId values and nextOffset; pass the next offset to continue, then read a selected attachmentId with the default read operation. Catalog pages contain metadata, not full document bodies. The original files remain available after conversation compaction. Workspace membership and the conversation’s current access rules still apply; this does not grant access to another room or a private agent DM. General MCP clients can use this through their existing tool discovery; the restricted ChatGPT connector does not expose file-read.