StayCharted Partner API

Who the key belongs to.

GitHub OpenAPI

Operations 1

GET /api/v1/partner Who this key belongs to #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/staycharted-com:staycharted-com-partner-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

staycharted-com-partner-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StayCharted AI Model Trainer Partner API
  version: 1.0.0
  description: 'For **solution partners**: software companies that build StayCharted AI

    Model Trainer (AMT) into their own product under a Solution Partner

    Agreement. One partner key reaches every customer the partner manages,

    and nothing else.


    **What a partner can do by key**

    - Add customers. Each is its own StayCharted account with its own data

    area and one workspace on the plan you choose. **You pay first:** the

    card on your partner account is charged before the customer exists,

    and a declined card creates nothing.

    - Build, train, test and publish each customer''s models, send it rows to

    classify one at a time or as a batch fill, and work its Review Queue

    from inside your product.

    - Change a customer''s plan, add a workspace, hand the customer over so it

    deals with StayCharted directly, or cancel it.


    **Two kinds of customer.** `access: api` (the default) is a customer

    that uses AMT only through your product: no login, and your key does

    everything. `access: login` is a **resold** customer whose own people

    sign in to AMT: your key manages its plan and workspaces, and never its

    models or data (`partner.customer_signs_in`).


    **The key.** `Authorization: Bearer amt_partner_…`. StayCharted issues

    it; your account Owner receives a one-time link and sees it once. Up to

    two keys at a time, so you can replace one without downtime; either can

    be limited to IP addresses and revoked at once from your Partner page.

    Keep it in a secrets manager, on your servers only.


    **Limits.** 600 calls a minute per key, and 30 new customers a minute

    per partner, then `429` with `Retry-After`. Each customer also keeps its

    own plan''s allowances and rate limit, exactly as a direct customer has.


    **Errors.** JSON with a stable `code`. Branch on `code`, never on the

    `error` text, which is written for people and may be reworded. A

    customer, model or job that is not yours answers `404`, the same as one

    that does not exist.


    **Changes.** Additive changes (a new field, a new endpoint) can come at

    any time, so ignore fields you do not know. A breaking change to a

    documented endpoint or field comes with 60 days'' notice, as the

    Solution Partner Agreement says.


    **Activity.** Everything done by key appears in the customer''s Activity

    as "via (Partner API: )", and every prediction

    records it.


    Questions: partners@staycharted.com.'
  contact:
    name: StayCharted partner team
    email: partners@staycharted.com
    url: https://staycharted.com/partners
  termsOfService: https://staycharted.com/legal/terms
servers:
- url: https://amt.staycharted.com
  description: Production
security:
- partnerKey: []
tags:
- name: Partner
  description: Who the key belongs to.
paths:
  /api/v1/partner:
    get:
      tags:
      - Partner
      operationId: getPartner
      summary: Who this key belongs to
      description: Cheap, and touches no customer, so it is the call to check a key with.
      responses:
        '200':
          description: The partner and this key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Partner'
              example:
                partner:
                  id: 5b1f0c3e-1a2b-4c3d-8e9f-0a1b2c3d4e5f
                  name: Acme Helpdesk
                  discountPercent: 20
                key:
                  name: Production
                  prefix: amt_partner_7Qk2
                customers: 37
                billing:
                  status: active
                  paidUntil: '2026-11-26T00:00:00.000Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Partner:
      type: object
      properties:
        partner:
          type: object
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            discountPercent:
              type:
              - number
              - 'null'
        key:
          type: object
          properties:
            name:
              type: string
            prefix:
              type: string
              description: The key's first characters, to tell your two keys apart.
        customers:
          type: integer
          description: How many customers you manage.
        billing:
          type: object
          properties:
            status:
              type:
              - string
              - 'null'
            paidUntil:
              type:
              - string
              - 'null'
              format: date-time
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
          description: For a person to read. May be reworded; do not match on it.
        code:
          type: string
          description: Stable. Branch on this.
        reasons:
          type: array
          items:
            type: object
            additionalProperties: true
          description: Present when the refusal has several causes.
    RateLimitError:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
        code:
          type: string
        retryAfter:
          type: integer
          description: Seconds to wait.
        retryAfterSeconds:
          type: integer
          description: The same, on a customer's own prediction limit.
  responses:
    RateLimited:
      description: Too many calls. Wait `Retry-After` seconds.
      headers:
        Retry-After:
          description: Seconds to wait.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitError'
          examples:
            key:
              value:
                error: A partner key may make 600 calls a minute. Slow down and retry.
                code: partner.rate_limited
                retryAfter: 12
            refusals:
              value:
                error: Too many requests with a missing or invalid partner key from this address. Wait a minute.
                code: partner.too_many_refusals
                retryAfter: 60
    Unauthorized:
      description: No partner key, or not a valid one. One answer for every kind of bad key; an address that keeps sending bad keys is told to wait (`429 partner.too_many_refusals`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              value:
                error: 'Send your partner key as: Authorization: Bearer amt_partner_….'
                code: partner.key_missing
            invalid:
              value:
                error: That partner key is not valid.
                code: partner.key_invalid
    Forbidden:
      description: The partner is suspended, the call came from an address the key does not allow, or the customer is resold and signs in itself.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            suspended:
              value:
                error: This partner’s access is suspended. Contact partners@staycharted.com.
                code: partner.suspended
            address:
              value:
                error: This key is not allowed from this address.
                code: partner.address_not_allowed
            signs_in:
              value:
                error: This customer’s own people sign in and use its models, so a partner key reaches its plan and workspaces only.
                code: partner.customer_signs_in
  securitySchemes:
    partnerKey:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer amt_partner_…`. Issued by StayCharted; up to two live at once.'