OrgX Credential API
Resolve the calling credential, the workspaces it reaches, and what it may do
Resolve the calling credential, the workspaces it reaches, and what it may do
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/useorgx-com:useorgx-com-credential-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: OrgX REST API v1 Credential API
version: '1'
description: 'Build accountable work into your product with OrgX REST API v1.
Create work with one field, attach evidence when it is complete, and keep the receipt. Every authenticated request is scoped to the workspace resolved from your credential.
Start with `POST /work`. Human guide: https://docs.useorgx.com/docs/api/quickstart'
contact:
name: OrgX Support
url: https://useorgx.com/support
email: support@useorgx.com
license:
name: Proprietary
url: https://useorgx.com/terms
servers:
- url: https://useorgx.com/api/v1
description: Production
tags:
- name: Credential
description: Resolve the calling credential, the workspaces it reaches, and what it may do
paths:
/me:
get:
operationId: getCredentialIdentity
summary: Describe the calling credential
description: 'Resolve who the calling credential is, which workspaces it reaches, and what it may do.
This is the first call a client makes. Tenancy comes wholly from the credential, so the
operation accepts no `workspace_id` — the response names every workspace the credential can
reach and which one is the default.
A key bound to a single workspace receives exactly that workspace and
`workspace_scope: bound`. The shared service credential is refused: it describes no single
principal.'
tags:
- Credential
security:
- bearerAuth: []
- cookieAuth: []
responses:
'200':
description: The credential, its workspaces, its ceilings, and its limits
content:
application/json:
schema:
type: object
required:
- data
- meta
properties:
data:
type: object
required:
- principal
- workspaces
- default_workspace_id
- limits
- capabilities
- api
properties:
principal:
type: object
required:
- user_id
- credential
- api_key_id
- workspace_scope
properties:
user_id:
type: string
credential:
type: string
enum:
- session
- api_key
api_key_id:
type: string
nullable: true
description: Identifier of the API key. Key material is withheld.
workspace_scope:
type: string
enum:
- bound
- owner
description: '`bound` when the key is pinned to one workspace; `owner` when it reaches every workspace the owner has.'
workspaces:
type: array
items:
type: object
required:
- id
- name
- is_default
- created_at
properties:
id:
type: string
format: uuid
name:
type: string
is_default:
type: boolean
created_at:
type: string
format: date-time
default_workspace_id:
type: string
format: uuid
nullable: true
limits:
type: object
description: Declared ceilings per credential and per rate class. Live remaining counts are withheld because the fail-open path would publish an outage signal.
properties:
rate:
type: object
properties:
read_per_min:
type: integer
write_per_min:
type: integer
generative_per_min:
type: integer
capabilities:
type: array
description: What this credential may and may not do, with the human surface for each refusal.
items:
type: object
required:
- name
- allowed
- reason
properties:
name:
type: string
allowed:
type: boolean
reason:
type: string
human_surface:
type: string
format: uri
api:
type: object
properties:
version:
type: string
errors_url:
type: string
format: uri
schemas_url:
type: string
format: uri
enums_url:
type: string
format: uri
meta:
type: object
properties:
apiVersion:
type: string
example:
data:
principal:
user_id: 6b1f0a2c-9d4e-4a71-8c3b-2f5e7a9d1c04
credential: api_key
api_key_id: 3d9c7e15-4b28-4f6a-9e13-8c0b5a2d7f41
workspace_scope: owner
workspaces:
- id: 5f82654a-055b-43d7-a86c-328788174d8e
name: Growth
is_default: true
created_at: 2026-05-02 14:11:07+00:00
- id: 9a4d1b6e-7c25-4f83-b0e9-1d6c3a8f5b27
name: Platform
is_default: false
created_at: 2026-06-18 09:42:55+00:00
default_workspace_id: 5f82654a-055b-43d7-a86c-328788174d8e
limits:
rate:
read_per_min: 120
write_per_min: 30
generative_per_min: 6
capabilities:
- name: resolve_decision
allowed: false
reason: Decision resolution requires an interactive human session. No delegation primitive exists for a machine credential.
human_surface: https://useorgx.com/decisions
- name: create_workspace
allowed: false
reason: Workspaces are created in the OrgX app. The API reads the workspaces a credential already reaches.
human_surface: https://useorgx.com/settings/workspaces
api:
version: '1'
errors_url: https://useorgx.com/api/v1/errors
schemas_url: https://useorgx.com/api/v1/meta/schemas
enums_url: https://useorgx.com/api/v1/meta/enums
meta:
apiVersion: '1'
'400':
description: The shared service credential was used, or a workspace_id was supplied
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
$ref: '#/components/responses/Unauthorized'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
responses:
Unauthorized:
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
ServiceUnavailable:
description: Ledger or workspace authorization is unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
schemas:
ApiError:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
requestId:
type: string
timestamp:
type: string
format: date-time
docsUrl:
type: string
format: uri
retryAfter:
type: integer
description: Seconds until rate limit resets
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'OrgX API key, sent as `Authorization: Bearer oxk_...`'
cookieAuth:
type: apiKey
in: cookie
name: __session
description: Session cookie from web authentication
stripeSignature:
type: apiKey
in: header
name: stripe-signature
description: Stripe webhook signature
externalDocs:
description: Human-readable OrgX REST API v1 reference
url: https://docs.useorgx.com/docs/api/public-api