a4sx Entities API

The Entities API from a4sx — 16 operation(s) for entities.

GitHub OpenAPI

Operations 16

GET /entities/pr/{owner}/{repo}/{number} Get Pr #
GET /entities/ticket/{system}/{key} Get Ticket #
GET /entities/epic/{system}/{key} Get Epic #
GET /entities/repo/{owner}/{repo} Get Repo #
GET /entities/polaris List Polaris #
GET /entities/account_usage List Account Usage #
GET /entities/usage_traffic Usage Traffic #
GET /entities/polaris/{service} Get Polaris #
GET /entities/pr List Prs #
GET /entities/ticket List Tickets #
GET /entities/epic List Epics #
GET /entities/repo List Repos #
GET /entities/needs_human List Needs Human #
GET /entities/needs_human/{request_id} Get Needs Human #
GET /entities/event_types List Event Types #
GET /entities/tokens List Tokens #

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/session-exchange-com:session-exchange-com-entities-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

session-exchange-com-entities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Session Exchange Com Entities API
  version: 0.1.0
  description: 'Operations tagged Entities across 2 of this provider''s published API definitions: openapi.json, session-exchange-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Entities
paths:
  /entities/pr/{owner}/{repo}/{number}:
    get:
      summary: Get Pr
      operationId: get_pr_entities_pr__owner___repo___number__get
      parameters:
      - name: owner
        in: path
        required: true
        schema:
          type: string
          title: Owner
      - name: repo
        in: path
        required: true
        schema:
          type: string
          title: Repo
      - name: number
        in: path
        required: true
        schema:
          type: integer
          title: Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Pr Entities Pr  Owner   Repo   Number  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/ticket/{system}/{key}:
    get:
      summary: Get Ticket
      operationId: get_ticket_entities_ticket__system___key__get
      parameters:
      - name: system
        in: path
        required: true
        schema:
          type: string
          title: System
      - name: key
        in: path
        required: true
        schema:
          type: string
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Ticket Entities Ticket  System   Key  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/epic/{system}/{key}:
    get:
      summary: Get Epic
      operationId: get_epic_entities_epic__system___key__get
      parameters:
      - name: system
        in: path
        required: true
        schema:
          type: string
          title: System
      - name: key
        in: path
        required: true
        schema:
          type: string
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Epic Entities Epic  System   Key  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/repo/{owner}/{repo}:
    get:
      summary: Get Repo
      operationId: get_repo_entities_repo__owner___repo__get
      parameters:
      - name: owner
        in: path
        required: true
        schema:
          type: string
          title: Owner
      - name: repo
        in: path
        required: true
        schema:
          type: string
          title: Repo
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Repo Entities Repo  Owner   Repo  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/polaris:
    get:
      summary: List Polaris
      description: 'List polaris baseline pointers. `?stale=true` → only services whose

        baseline is behind the current develop ref (a re-learn is due).'
      operationId: list_polaris_entities_polaris_get
      parameters:
      - name: stale
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Stale
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Polaris Entities Polaris Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/account_usage:
    get:
      summary: List Account Usage
      description: 'Subscription usage for the Atlas Usage tab: per-(org,window) rolling-

        window usage (used/remaining/resets_at, latest from the usage-poller''s

        account.usage events) + the agent↔account allocation matrix (which agent

        used which account_id, folded from account_id on lifecycle events).'
      operationId: list_account_usage_entities_account_usage_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Account Usage Entities Account Usage Get
      tags:
      - Entities
  /entities/usage_traffic:
    get:
      summary: Usage Traffic
      description: 'The caller tenant''s router pay-per-use metrics for a calendar month

        (default: the current month). Bytes are RAW in+out traffic through the fleet

        router. Rows are scoped to the CALLER''s own tenant (resolved from Host, never

        caller-supplied) against the central ledger. `totals` carries the billable

        overage math (1 GB free, then €0.10/GB).'
      operationId: usage_traffic_entities_usage_traffic_get
      parameters:
      - name: month
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Month
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Usage Traffic Entities Usage Traffic Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/polaris/{service}:
    get:
      summary: Get Polaris
      description: 'The baseline pointer for a service: current source_ref, content_hash,

        URIs (spec + cached develop-cascade), and staleness vs latest develop.'
      operationId: get_polaris_entities_polaris__service__get
      parameters:
      - name: service
        in: path
        required: true
        schema:
          type: string
          title: Service
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Polaris Entities Polaris  Service  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/pr:
    get:
      summary: List Prs
      operationId: list_prs_entities_pr_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - name: repository
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Repository
      - name: owner
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Owner
      - name: ticket
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticket
      - name: epic
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Epic
      - name: is_held
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Held
      - name: has_gate_failing
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Gate Failing
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Prs Entities Pr Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/ticket:
    get:
      summary: List Tickets
      operationId: list_tickets_entities_ticket_get
      parameters:
      - name: system
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: System
      - name: key_prefix
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Key Prefix
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Tickets Entities Ticket Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/epic:
    get:
      summary: List Epics
      operationId: list_epics_entities_epic_get
      parameters:
      - name: system
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: System
      - name: key_prefix
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Key Prefix
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Epics Entities Epic Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/repo:
    get:
      summary: List Repos
      operationId: list_repos_entities_repo_get
      parameters:
      - name: owner
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Owner
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Repos Entities Repo Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/needs_human:
    get:
      summary: List Needs Human
      description: 'List NeedsHumanRequest entities, newest-first by last_event_at.


        The Atlas Inbox view''s primary call is `?state=open` — that''s the

        substrate-wide "what''s blocked on a human?" inbox.


        Global-admin-only kinds (collector/needs_human_visibility.py, e.g. the EU B2C revenue threshold)

        are left out for every other caller; a page may then hold fewer than `limit` rows. For a global

        admin, the body of such a card is filled in from its read-restricted record.'
      operationId: list_needs_human_entities_needs_human_get
      parameters:
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Filter by lifecycle state: open | acknowledged | resolved | dismissed | escalated. Most consumers want `state=open` (the inbox).'
          title: State
        description: 'Filter by lifecycle state: open | acknowledged | resolved | dismissed | escalated. Most consumers want `state=open` (the inbox).'
      - name: producer
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Producer
      - name: kind
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Kind
      - name: repository
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Repository
      - name: pr
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Pr
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Needs Human Entities Needs Human Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/needs_human/{request_id}:
    get:
      summary: Get Needs Human
      operationId: get_needs_human_entities_needs_human__request_id__get
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Needs Human Entities Needs Human  Request Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Entities
  /entities/event_types:
    get:
      summary: List Event Types
      description: 'Return every event_type that''s ever been emitted, with

        cumulative count + first/last seen timestamps.


        Backs the Atlas Workflows view''s "all event-type rows are

        always visible" feature. Cheap aggregation (single GROUP BY

        over the events table, index-supported).'
      operationId: list_event_types_entities_event_types_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Event Types Entities Event Types Get
      tags:
      - Entities
  /entities/tokens:
    get:
      summary: List Tokens
      description: 'One row per token, folding the three token stores + the per-producer

        emit footprint + the topic-sensitivity registry, with DERIVED roles/grants

        and a SHADOW `shadow_would_deny` (computes-but-never-enforces).


        Admin-only — token metadata is sensitive. See specs/authz/v0.1.md

        "Tokens projection".'
      operationId: list_tokens_entities_tokens_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Tokens Entities Tokens Get
      tags:
      - Entities
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- openapi.json
- session-exchange-com-openapi.json