notanATS Agent API — proposals API

The Agent API — proposals API from notanATS — 2 operation(s) for agent api — proposals.

GitHub OpenAPI

Operations 2

GET /api/v1/agent/candidates/{applicationId}/proposals List this credential’s decision proposals for one candidate #
GET /api/v1/agent/proposals/{id} Read back one decision proposal in its honest current state #

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/notanats-com:notanats-com-agent-api-proposals-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

notanats-com-agent-api-proposals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: notanATS Agent API + OAuth Agent API — proposals 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: Agent API — proposals
paths:
  /api/v1/agent/candidates/{applicationId}/proposals:
    get:
      operationId: listCandidateProposals
      tags:
      - Agent API — proposals
      summary: List this credential’s decision proposals for one candidate
      description: Newest first, each in its honest current state. Scoped to the proposing credential.
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      security:
      - agentBearer: []
      responses:
        '200':
          description: The proposals.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        application_id:
                          type: string
                          format: uuid
                        candidate_id:
                          type: string
                          format: uuid
                        action:
                          type: string
                          enum:
                          - advance
                          - reject
                          - dimension_feedback
                          - record_outcome
                        reason:
                          type: string
                        action_payload:
                          type: object
                        state:
                          type: string
                          enum:
                          - awaiting_approval
                          - executed
                          - declined
                          - fresh_review_required
                          - blocked_prerequisites
                        status:
                          type: string
                          enum:
                          - awaiting_review
                          - approved
                          - declined
                          - revoked
                          - execution_claimed
                          - executed
                          - execution_failed
                          description: The raw store status the server returns (a freshly created proposal reads "awaiting_review"). The five honest result states are carried by the `state` field above; "pending" is never a value of either field.
                        content_version:
                          type: integer
                        created_at:
                          type: string
                        review_url:
                          type: string
                          description: Token-free manager review link (the candidate page in the webapp, deep-linked to this proposal). The link is a locator, not a credential — the manager’s own session gates it.
                  total:
                    type: integer
        '400':
          description: validation_failed — malformed id.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
        '401':
          description: unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
        '404':
          description: not_found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
        '429':
          description: rate_limited.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
  /api/v1/agent/proposals/{id}:
    get:
      operationId: getProposal
      tags:
      - Agent API — proposals
      summary: Read back one decision proposal in its honest current state
      description: 'States: awaiting_approval (nothing decided), executed (a manager approved and the decision ran), declined (a manager declined — final), fresh_review_required (the evidence changed after review; a new proposal/review is needed), blocked_prerequisites (execution is blocked on a prerequisite that can be fixed). A pending proposal is always reported as pending — never as a completed decision. Scoped to the proposing credential; any other credential gets 404.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      security:
      - agentBearer: []
      responses:
        '200':
          description: The proposal.
          content:
            application/json:
              schema:
                type: object
                properties:
                  proposal:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      application_id:
                        type: string
                        format: uuid
                      candidate_id:
                        type: string
                        format: uuid
                      action:
                        type: string
                        enum:
                        - advance
                        - reject
                        - dimension_feedback
                        - record_outcome
                      reason:
                        type: string
                      action_payload:
                        type: object
                      state:
                        type: string
                        enum:
                        - awaiting_approval
                        - executed
                        - declined
                        - fresh_review_required
                        - blocked_prerequisites
                      status:
                        type: string
                        enum:
                        - awaiting_review
                        - approved
                        - declined
                        - revoked
                        - execution_claimed
                        - executed
                        - execution_failed
                        description: The raw store status the server returns (a freshly created proposal reads "awaiting_review"). The five honest result states are carried by the `state` field above; "pending" is never a value of either field.
                      content_version:
                        type: integer
                      created_at:
                        type: string
                      review_url:
                        type: string
                        description: Token-free manager review link (the candidate page in the webapp, deep-linked to this proposal). The link is a locator, not a credential — the manager’s own session gates it.
        '400':
          description: validation_failed — malformed id.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
        '401':
          description: unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
        '404':
          description: not_found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                required:
                - error
        '429':
          description: rate_limited.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                        - unauthorized
                        - forbidden
                        - not_found
                        - validation_failed
                        - conflict
                        - idempotency_key_required
                        - idempotency_key_reused
                        - request_in_progress
                        - operation_outcome_unknown
                        - agent_loop_stopped
                        - rate_limited
                        - no_slots
                        - internal_error
                      message:
                        type: string
                      request_id:
                        type: string
                      retryable:
                        type: boolean
                        description: 'Present on loop-stop responses (code agent_loop_stopped): always false. The tenth identical failed attempt (same credential, operation, target, payload and error) is the last one that runs; the stop is returned with HTTP 409 and no Retry-After header, does not lift on a timer, and a person must intervene before that request can run again. The same flag is repeated at the top level of the response body.'
                    required:
                    - code
                    - message
                    - request_id
                  retryable:
                    type: boolean
                    description: Top-level repeat of the error.retryable flag on loop-stop responses (agent_loop_stopped); absent on other errors.
                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.