Stori Partner API v1 API
API-key authenticated, company-scoped partner endpoints. Stori gathers, organizes, and cross-validates candidate information to help employers make more informed decisions.
API-key authenticated, company-scoped partner endpoints. Stori gathers, organizes, and cross-validates candidate information to help employers make more informed decisions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/onestori-com:onestori-com-partner-api-v1-api"
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.
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: 3.2.0
info:
title: Stori Partner API v1 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: Partner API v1
description: API-key authenticated, company-scoped partner endpoints. Stori gathers, organizes, and cross-validates candidate information to help employers make more informed decisions.
paths:
/api/v1/jobs:
get:
tags:
- Partner API v1
summary: List jobs
description: 'The company''s jobs with candidate-pool counts. Scope: read:jobs.'
security:
- ApiKeyAuth: []
parameters:
- schema:
type: integer
minimum: 1
maximum: 100
default: 50
required: false
name: limit
in: query
- schema:
type: integer
minimum: 0
default: 0
required: false
name: offset
in: query
- schema:
type: string
description: Filter by job status
required: false
description: Filter by job status
name: status
in: query
responses:
'200':
description: Jobs
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
status:
type:
- string
- 'null'
location:
type:
- string
- 'null'
department:
type:
- string
- 'null'
created_at:
type: string
candidate_count:
type: integer
interviewed_count:
type: integer
required:
- id
- title
- status
- location
- department
- created_at
- candidate_count
- interviewed_count
has_more:
type: boolean
required:
- data
- has_more
'401':
description: Missing or invalid API key
'403':
description: Insufficient scope
'429':
description: Rate limit exceeded
operationId: getApiV1Jobs
x-operation-id-source: derived
/api/v1/jobs/{id}:
get:
tags:
- Partner API v1
summary: Get job detail
description: 'Job spec fields plus pool counts. Scope: read:jobs.'
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
responses:
'200':
description: Job detail
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
status:
type:
- string
- 'null'
location:
type:
- string
- 'null'
department:
type:
- string
- 'null'
created_at:
type: string
candidate_count:
type: integer
interviewed_count:
type: integer
skills:
type:
- array
- 'null'
items:
type: string
requirements: {}
responsibilities: {}
required:
- id
- title
- status
- location
- department
- created_at
- candidate_count
- interviewed_count
- skills
required:
- data
'401':
description: Missing or invalid API key
'404':
description: Job not found
operationId: getApiV1JobsById
x-operation-id-source: derived
/api/v1/jobs/{id}/candidates:
get:
tags:
- Partner API v1
summary: List candidates in a job
description: 'Candidate summary rows for a job pool. Scope: read:candidates.'
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
- schema:
type: integer
minimum: 1
maximum: 100
default: 50
required: false
name: limit
in: query
- schema:
type: integer
minimum: 0
default: 0
required: false
name: offset
in: query
responses:
'200':
description: Candidates
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
candidate_id:
type: string
format: uuid
full_name:
type: string
job_title:
type:
- string
- 'null'
company_name:
type:
- string
- 'null'
interview_completed_at:
type:
- string
- 'null'
resume_match_score:
type:
- number
- 'null'
interview_intelligence_score:
type:
- number
- 'null'
stori_composite_score:
type:
- number
- 'null'
pool_rank:
type:
- number
- 'null'
required:
- candidate_id
- full_name
- job_title
- company_name
- interview_completed_at
- resume_match_score
- interview_intelligence_score
- stori_composite_score
- pool_rank
has_more:
type: boolean
required:
- data
- has_more
'401':
description: Missing or invalid API key
'404':
description: Job not found
operationId: getApiV1JobsByIdCandidates
x-operation-id-source: derived
/api/v1/jobs/{id}/rankings:
get:
tags:
- Partner API v1
summary: Rank a job pool by evidence strength
description: 'Deterministic ordering of scored candidates by strength of role-relevant, checkable evidence (résumé match + interview-demonstrated signal). Decision support — identifies who should be considered, not who is "best". Scope: read:candidates.'
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
responses:
'200':
description: Rankings
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
job:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
required:
- id
- title
ranked:
type: array
items:
type: object
properties:
candidate_id:
type: string
format: uuid
full_name:
type:
- string
- 'null'
stori_composite_score:
type: number
pool_rank:
type: integer
pool_size:
type: integer
pool_percentile:
type: number
pool_standout_factor:
type: string
required:
- candidate_id
- full_name
- stori_composite_score
- pool_rank
- pool_size
- pool_percentile
- pool_standout_factor
unscored:
type: array
items:
type: object
properties:
candidate_id:
type: string
format: uuid
full_name:
type: string
interview_completed:
type: boolean
required:
- candidate_id
- full_name
- interview_completed
note:
type: string
required:
- job
- ranked
- unscored
- note
required:
- data
'401':
description: Missing or invalid API key
'404':
description: Job not found
operationId: getApiV1JobsByIdRankings
x-operation-id-source: derived
/api/v1/jobs/{id}/search:
post:
tags:
- Partner API v1
summary: Ask a question across interview transcripts
description: 'Natural-language RAG search across a job''s completed interview transcripts. Answers cite exact quotes with video timestamps. Scope: read:candidates. Requires a Sourcing subscription (test-environment keys exempt).'
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
question:
type: string
minLength: 3
maxLength: 2000
required:
- question
responses:
'200':
description: Search result with cited evidence
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
answer:
type: string
candidates:
type: array
items:
type: object
properties:
candidate_id:
type: string
full_name:
type: string
relevance_score:
type: number
evidence:
type: array
items:
type: object
properties:
quote:
type: string
timestamp:
type: number
description: Seconds into the interview video
context:
type: string
required:
- quote
- timestamp
- context
summary:
type: string
required:
- candidate_id
- full_name
- relevance_score
- evidence
- summary
follow_up_questions:
type: array
items:
type: string
pool_size:
type: integer
required:
- answer
- candidates
- follow_up_questions
- pool_size
required:
- data
'400':
description: Missing/short question
'401':
description: Missing or invalid API key
'403':
description: 'Sourcing subscription required (code: UPGRADE_REQUIRED)'
'404':
description: Job not found
operationId: postApiV1JobsByIdSearch
x-operation-id-source: derived
/api/v1/candidates/{id}:
get:
tags:
- Partner API v1
summary: Get candidate intelligence report
description: 'Full structured report: identity, evidence-based scores, pool position, transcript analysis with cited evidence. Scores reflect strength of checkable, role-relevant information — decision support, not prediction. Scope: read:candidates.'
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
format: uuid
required: true
name: id
in: path
responses:
'200':
description: Candidate report
content:
application/json:
schema:
type: object
properties:
data: {}
'401':
description: Missing or invalid API key
'404':
description: Candidate not found
operationId: getApiV1CandidatesById
x-operation-id-source: derived
/api/v1/credits:
get:
tags:
- Partner API v1
summary: Get credit balances
description: 'Assessment and outreach credit balances (subscription + purchased buckets). Scope: read:credits.'
security:
- ApiKeyAuth: []
responses:
'200':
description: Balances
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
assessment_credits:
type: object
properties:
available:
type: number
subscription:
type: number
purchased:
type: number
required:
- available
outreach_credits:
type: object
properties:
available:
type: number
subscription:
type: number
purchased:
type: number
required:
- available
required:
- assessment_credits
- outreach_credits
required:
- data
'401':
description: Missing or invalid API key
operationId: getApiV1Credits
x-operation-id-source: derived
/api/v1/health:
get:
tags:
- Partner API v1
summary: Authenticated health check
description: 'Confirms the API key works and reports environment context. Scope: read:health.'
security:
- ApiKeyAuth: []
responses:
'200':
description: Healthy
content:
application/json:
schema:
type: object
properties:
status:
type: string
db:
type: string
latency_ms:
type: number
environment:
type: string
enum:
- live
- test
required:
- status
- db
- latency_ms
- environment
'401':
description: Missing or invalid API key
'503':
description: Unhealthy
operationId: getApiV1Health
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.'