Stori Traits API

Behavioral trait assessment

GitHub OpenAPI

Operations 3

POST /api/traits/start-assessment Start trait assessment #
POST /api/traits/save-response Save trait response #
POST /api/traits/calculate-report Calculate trait report #

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/onestori-com:onestori-com-traits-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

onestori-com-traits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stori Traits API
  version: 1.0.0
  description: '# Stori API Documentation


    Stori is a candidate intelligence platform that helps job seekers stand out and recruiters find the right talent.


    ## Authentication


    Most endpoints require authentication via one of:

    - **Bearer Token**: Pass your Supabase JWT in the `Authorization: Bearer ` header

    - **Session Cookie**: Automatic for web app users


    ## Rate Limits


    All endpoints are rate-limited to prevent abuse:


    | Endpoint Type | Limit |

    |---------------|-------|

    | PDL Search | 75 req/min |

    | AI Generation | 7 req/min |

    | Auth | 5 req/min |

    | Email Send | 10 req/min |

    | Video Upload | 4 req/min |

    | Standard API | 100 req/min |

    | Read-only | 200 req/min |


    Rate limit headers are included in all responses:

    - `X-RateLimit-Limit`: Maximum requests allowed

    - `X-RateLimit-Remaining`: Requests remaining

    - `X-RateLimit-Reset`: Unix timestamp when limit resets


    ## Credits


    Some operations consume credits:

    - PDL searches cost credits based on results

    - Unlocking contact info costs 1 credit per contact

    - Credits can be purchased via Stripe checkout


    ## Error Handling


    All errors follow this format:

    ```json

    {

    "error": "Error message",

    "details": { "field": ["validation error"] }

    }

    ```


    Common status codes:

    - `400` - Validation error

    - `401` - Unauthorized (invalid/missing token)

    - `402` - Payment required (insufficient credits)

    - `403` - Forbidden (subscription required)

    - `429` - Rate limit exceeded

    - `500` - Internal server error'
  contact:
    name: Stori Support
    url: https://onestori.com
servers:
- url: https://onestori.com
  description: Production
- url: http://localhost:3000
  description: Development
tags:
- name: Traits
  description: Behavioral trait assessment
paths:
  /api/traits/start-assessment:
    post:
      tags:
      - Traits
      summary: Start trait assessment
      description: Initiates a new trait assessment session
      security:
      - BearerAuth: []
      - CookieAuth: []
      responses:
        '200':
          description: Assessment started
          content:
            application/json:
              schema:
                type: object
                properties:
                  assessmentId:
                    type: string
                    format: uuid
                  totalBlocks:
                    type: number
                    description: Number of question blocks
                required:
                - assessmentId
                - totalBlocks
        '401':
          description: Unauthorized
      operationId: postApiTraitsStartAssessment
      x-operation-id-source: derived
  /api/traits/save-response:
    post:
      tags:
      - Traits
      summary: Save trait response
      description: Saves a response for a trait assessment block
      security:
      - BearerAuth: []
      - CookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                assessmentId:
                  type: string
                  format: uuid
                blockNumber:
                  type: integer
                  minimum: 1
                  maximum: 30
                mostLike:
                  type: string
                  minLength: 1
                  maxLength: 100
                moreLike:
                  type: string
                  minLength: 1
                  maxLength: 100
                leastLike:
                  type: string
                  minLength: 1
                  maxLength: 100
              required:
              - assessmentId
              - blockNumber
              - mostLike
              - moreLike
              - leastLike
      responses:
        '200':
          description: Response saved
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - true
                required:
                - success
        '401':
          description: Unauthorized
      operationId: postApiTraitsSaveResponse
      x-operation-id-source: derived
  /api/traits/calculate-report:
    post:
      tags:
      - Traits
      summary: Calculate trait report
      description: Calculates final trait scores from all responses
      security:
      - BearerAuth: []
      - CookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                assessmentId:
                  type: string
                  format: uuid
              required:
              - assessmentId
      responses:
        '200':
          description: Report calculated
          content:
            application/json:
              schema:
                type: object
                properties:
                  traits:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        score:
                          type: number
                          minimum: 0
                          maximum: 100
                        description:
                          type: string
                      required:
                      - name
                      - score
                required:
                - traits
        '401':
          description: Unauthorized
      operationId: postApiTraitsCalculateReport
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase JWT token from authentication
    CookieAuth:
      type: apiKey
      in: cookie
      name: sb-access-token
      description: Supabase session cookie
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Stori API key (sk_live_... or sk_test_...). All v1 endpoints are scoped to the key''s company. Scopes: read:jobs, read:candidates, read:credits, read:health.'