Skip to main content
This walkthrough is for calling Priors yourself from a script, notebook, or tool while you build. A personal key acts as you, with your role in one project, and reaches what you reach in the Priors app. It is not for production: your servers use a service-account key. See Call Priors from your own backend.

Step 1: create a personal key

In the Priors app, pick the project you work in, open API keys, and choose Create key. Name it (for example laptop), choose a lifetime (30, 90, or 365 days, 90 by default), and confirm For building and testing, not production. You can hold up to 10 live personal keys across your organization’s projects. The key belongs to that project. It acts with your role there, and it never reaches another project. See Roles and permissions.

Step 2: verify identity with GET /v2/me

Every response to a personal key carries X-SP-Warning: personal API key, not for production. If it fails: 401 unauthorized (wrong, revoked, or expired key, or you left the organization), 400 invalid_request (you sent X-SP-End-User, or the request carried Sec-Fetch-Site), or 503 service_unavailable (Priors could not confirm your membership; retry).

Step 3: list the agents you reach

The list holds the agents your role reaches in the key’s project: every public agent, and the private agents you created. A Project admin also sees every private agent in the project.

Step 4: create an agent

The agent lives in the key’s project. If you are a Contributor or Agent admin, it is private: only you, Project admins, and Org admins reach it. If you are a Project admin or Org admin, it is public. See Agents. Continue with 1. Your first agent, from start to finish to open a thread, teach the agent, and ask it questions.