The Partner API gives approved partners read-only access to schematics stored in Trace: the raw .trace_sch text, or the same schematic parsed into components, pin-to-net connections and, optionally, datasheet data. It is built for tools that consume hardware designs, such as firmware and board support package generators, simulation and analysis.
The API only reads. It doesn't create or edit designs, and it doesn't read Workspaces projects or boards.
Base URL and endpoints
https://api.buildwithtrace.com/api/partner
- Get Schematic:
GET /api/partner/projects/{project_id}/schematic - Get Components:
GET /api/partner/projects/{project_id}/components
The project_id is a conversation ID
Trace saves versions of a schematic that the assistant has worked on in a chat, and the API reads the latest saved version for one chat. So project_id is the ID of a Trace conversation. You can see it at the end of the chat's address under Sessions in your Trace dashboard: https://buildwithtrace.com/dashboard/sessions/{conversation_id}.
It is not a Workspaces project, branch or share-link ID. The latest saved version can be older than what is open in the editor right now.
Get access
Access is for approved partners. Apply and manage tokens on the Trace developer portal:
- Apply to the Partner Program with your company and what you're building.
- Once you're approved, your account is granted the
partner:readscope. - Create a personal access token with the
partner:readscope on the portal's API Tokens page. - Call the API with that token.
Keep in mind:
- The API reads schematics owned by the account that created the token. Partner access doesn't give you other users' data or a whole team's projects.
- An ordinary access token with the default full-access scope (
mcp:all) can't call the Partner API. The token needspartner:readitself. - If your partner approval is withdrawn, your tokens stop working with the API.
Questions about the program: hello@buildwithtrace.com.
Authentication
Send the token as a bearer token over HTTPS:
Authorization: Bearer <partner-scoped personal access token>
Keep the token on your server, for example in a secret manager. Don't put it in a URL, a browser or mobile app, source code or logs.
Limits and failures
Requests are limited per minute and per month. When you hit a limit you get 429: wait and retry with backoff, and honor Retry-After when it is present. The monthly limit returns a detail message; email hello@buildwithtrace.com if you need it raised.
| Status | Meaning |
|---|---|
401 | The token is missing, invalid or expired. |
403 | The token doesn't have partner:read, or partner access isn't active for this account. |
404 | No stored schematic for that conversation in this account. A conversation that belongs to someone else returns the same 404. |
422 | A request parameter is invalid, or the stored schematic couldn't be parsed. |
429 | Rate limit or monthly limit reached. |
503 | The Partner API, or schematic parsing, is unavailable right now. |
Most errors are JSON with a detail field, and validation errors (422) can carry a list of details. The per-minute 429 and errors from the network or a gateway can be plain text. Check the status code before you read the body, and don't retry without a limit.
Using the data
The data shows what the stored schematic declares. Check it before you generate firmware or order hardware from it: a parsed netlist isn't a full electrical check, and datasheet data can be incomplete.
Each response includes a version_number. Each call reads the latest version on its own, so if you call both endpoints, compare their version_number before you combine the results.