notanATS Legacy /api/v1 — data reads API
The Legacy /api/v1 — data reads API from notanATS — 3 operation(s) for legacy /api/v1 — data reads.
The Legacy /api/v1 — data reads API from notanATS — 3 operation(s) for legacy /api/v1 — data reads.
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/notanats-com:notanats-com-legacy-api-v1-data-reads-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: notanATS Agent API + OAuth Legacy /api/v1 — data reads API
version: 1.0.0
description: 'Generated from the implemented route contracts (src/lib/agent-contract/openapi.ts) — do not edit the published file by hand; run `npm run contract:generate`. Covers the delegated-agent REST API (Bearer static nagt_ keys only — OAuth access tokens (noat_) authenticate the MCP transport only and do NOT authenticate REST; see the known gap in docs/agent/README.md), the legacy /api/v1 data reads (nagt_ or nats_), and the OAuth 2.1 endpoints. The MCP server at /mcp is JSON-RPC, not REST, and is contracted separately in /agent/mcp-contract.json. Quickstart: docs/agent/quickstart.md.'
servers:
- url: https://notanats.com
tags:
- name: Legacy /api/v1 — data reads
paths:
/api/v1/positions:
get:
operationId: listLegacyPositions
tags:
- Legacy /api/v1 — data reads
summary: List positions (legacy route; accepts nagt_ agent keys and nats_ org keys)
description: 'Read-only. Auth: a delegated agent credential (nagt_) or a legacy organization key (nats_). Visibility: an agent credential whose delegated manager is not an org admin sees only positions that manager manages or is assigned to calibrate; org admins and legacy org keys see every position in the organization. Agent calls are recorded in the agent request ledger. Errors use the bare-string shape { error: "" }, not the agent error object.'
parameters:
- name: status
in: query
schema:
type: string
enum:
- open
- closed
- all
default: all
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: offset
in: query
schema:
type: integer
minimum: 0
default: 0
security:
- v1Bearer: []
responses:
'200':
description: Positions with applicant/advanced counts.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
position_id:
type: string
format: uuid
title:
type: string
department:
type:
- string
- 'null'
status:
type: string
enum:
- open
- closed
lifecycle_status:
type: string
created_at:
type: string
applicant_count:
type: integer
advanced_count:
type: integer
total:
type: integer
limit:
type: integer
offset:
type: integer
'400':
description: Bare-string error — status must be open, closed, or all.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: 'Bare-string error — { error: "Unauthorized" } for a missing, invalid, or revoked key.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: 'Bare-string error — { error: "Too many requests" }, with Retry-After / X-RateLimit-* headers.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'500':
description: Bare-string error — query/internal failure.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/api/v1/candidates:
get:
operationId: listLegacyCandidates
tags:
- Legacy /api/v1 — data reads
summary: List candidate applications (legacy route; accepts nagt_ agent keys and nats_…
description: 'Read-only. One record per candidate-position pair. Auth and visibility as listLegacyPositions: an agent credential is narrowed to the positions its delegated manager can see (a position_id filter outside that visibility returns an empty page, never another manager’s data); legacy org keys keep organization scope. Errors use the bare-string shape { error: "" }.'
parameters:
- name: position_id
in: query
schema:
type: string
format: uuid
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: offset
in: query
schema:
type: integer
minimum: 0
default: 0
security:
- v1Bearer: []
responses:
'200':
description: Candidate applications.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
application_id:
type: string
format: uuid
name:
type:
- string
- 'null'
email:
type:
- string
- 'null'
application_date:
type: string
position_id:
type:
- string
- 'null'
position_title:
type:
- string
- 'null'
ai_score:
type:
- number
- 'null'
screening_status:
type: string
advanced:
type: boolean
total:
type: integer
limit:
type: integer
offset:
type: integer
'400':
description: Bare-string error — invalid position_id.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: 'Bare-string error — { error: "Unauthorized" }.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: 'Bare-string error — { error: "Too many requests" }, with Retry-After / X-RateLimit-* headers.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'500':
description: Bare-string error — query/internal failure.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/api/v1/applications:
get:
operationId: listLegacyApplications
tags:
- Legacy /api/v1 — data reads
summary: List applications with screening outcomes (legacy route; accepts nagt_ agent…
description: 'Read-only. Auth and visibility as listLegacyCandidates. score_breakdown is the outbound-safe projection (dimension, q1_rating, q3_rating only — no rubric material); after advancement, ai_score and score_breakdown are null until the blind rating is in, with score_withheld "blind_rating_pending". Errors use the bare-string shape { error: "" }.'
parameters:
- name: position_id
in: query
schema:
type: string
format: uuid
- name: status
in: query
schema:
type: string
- name: from
in: query
schema:
type: string
description: ISO date lower bound on created_at.
- name: to
in: query
schema:
type: string
description: ISO date upper bound on created_at.
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: offset
in: query
schema:
type: integer
minimum: 0
default: 0
security:
- v1Bearer: []
responses:
'200':
description: Applications with screening outcomes.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
application_id:
type: string
format: uuid
candidate_name:
type:
- string
- 'null'
position_title:
type:
- string
- 'null'
submitted_at:
type: string
ai_score:
type:
- number
- 'null'
score_breakdown:
type:
- object
- 'null'
properties:
weighted_score:
type: number
must_have_failed:
type: boolean
dimension_scores:
type: array
items:
type: object
properties:
dimension:
type: string
q1_rating:
type: string
q3_rating:
type: string
score_withheld:
type:
- string
- 'null'
enum:
- null
- blind_rating_pending
screening_status:
type: string
interview_outcome:
type:
- string
- 'null'
total:
type: integer
limit:
type: integer
offset:
type: integer
'400':
description: Bare-string error — invalid position_id, or from/to not ISO dates.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: 'Bare-string error — { error: "Unauthorized" }.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: 'Bare-string error — { error: "Too many requests" }, with Retry-After / X-RateLimit-* headers.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'500':
description: Bare-string error — query/internal failure.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
components:
securitySchemes:
agentBearer:
type: http
scheme: bearer
description: 'A static delegated agent key (prefix nagt_) minted by an organization admin for a named delegated manager. This is the ONLY credential class the REST agent API authenticates: the REST guard resolves nagt_ (and, on the legacy /api/v1 data routes, nats_) keys only. An OAuth access token (noat_) does NOT authenticate REST — it resolves only in the MCP seam at /mcp.'
v1Bearer:
type: http
scheme: bearer
description: 'For the legacy /api/v1 data routes only: a delegated agent key (nagt_) or a legacy organization key (nats_). Agent keys are narrowed to their delegated manager’s visibility; legacy org keys keep organization scope.'
managerSession:
type: apiKey
in: cookie
name: sb-*-auth-token
description: The signed-in manager/admin webapp session, carried by the app’s Supabase SSR session cookies (the sb-<project>-auth-token cookie and any chunked companions, set at sign-in; the exact cookie name is derived from the Supabase project, so the name shown is a pattern, not a literal). These surfaces are not callable with an agent credential.