B3 Api Keys API
The Api Keys API from B3 — 2 operation(s) for api keys.
The Api Keys API from B3 — 2 operation(s) for api keys.
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/b3-api-keys-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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: B3 Api Keys API
version: '1.0'
description: 'Operations tagged Api Keys across 2 of this provider''s published API definitions: b3-api-keys-api-openapi.yml, b3-b3os-workflow-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.b3os.org/v1
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Api Keys
paths:
/v1/api-keys:
get:
description: List all API keys for the current organization
parameters:
- description: Number of items (default 20, max 100)
in: query
name: limit
schema:
type: integer
- description: Offset for pagination (default 0)
in: query
name: offset
schema:
type: integer
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListAPIKeysSuccessResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
description: Bad Request
tags:
- Api Keys
post:
description: Create a new API key for the current organization
requestBody:
content:
application/json:
schema:
oneOf:
- type: object
- $ref: '#/components/schemas/CreateAPIKeyParams'
summary: request
description: API key details
description: API key details
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CreateAPIKeySuccessResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
description: Bad Request
tags:
- Api Keys
servers:
- url: https://api.b3os.org/v1
description: Base URL declared by the provider in apis.yml (roadmap#122).
/v1/api-keys/{id}:
delete:
description: Revoke an API key by ID
parameters:
- description: API key ID
in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RevokeAPIKeySuccessResponse'
description: OK
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
description: Not Found
tags:
- Api Keys
get:
description: Get a single API key by ID
parameters:
- description: API key ID
in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GetAPIKeySuccessResponse'
description: OK
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
description: Not Found
tags:
- Api Keys
servers:
- url: https://api.b3os.org/v1
description: Base URL declared by the provider in apis.yml (roadmap#122).
/v1/api-keys/requests:
get:
description: List recent API request audit logs for the current organization
parameters:
- description: Number of items (default 20, max 100)
in: query
name: limit
schema:
type: integer
- description: Offset for pagination (default 0)
in: query
name: offset
schema:
type: integer
- description: Filter by service account ID
in: query
name: serviceAccountId
schema:
type: string
- description: Filter by API key ID
in: query
name: apiKeyId
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListAPIRequestAuditsSuccessResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
description: Bad Request
tags:
- Api Keys
components:
schemas:
github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse:
properties:
code:
type: integer
details:
items: {}
type: array
uniqueItems: false
message:
type: string
requestId:
type: string
type: object
CreateAPIKeySuccessResponse:
properties:
code:
example: 200
type: integer
data:
$ref: '#/components/schemas/CreateAPIKeyData'
message:
example: success
type: string
requestId:
example: abc-123
type: string
type: object
CreateAPIKeyData:
properties:
createdAt:
type: string
description:
type: string
expiresAt:
type: string
id:
type: string
key:
description: Key is the full plaintext API key, shown only once. Store it securely.
type: string
keyPrefix:
type: string
lastUsedAt:
type: string
name:
type: string
organizationId:
type: string
revokedAt:
type: string
scope:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKeyScope'
userId:
type: string
type: object
github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKeyScope:
enum:
- read
- read-write
type: string
x-enum-varnames:
- APIKeyScopeRead
- APIKeyScopeReadWrite
CreateAPIKeyParams:
properties:
description:
type: string
expiresAt:
type: string
name:
type: string
scope:
type: string
required:
- name
- scope
type: object
ListAPIKeysSuccessResponse:
properties:
code:
example: 200
type: integer
data:
$ref: '#/components/schemas/PaginatedData-github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity_APIKey'
message:
example: success
type: string
requestId:
example: abc-123
type: string
type: object
RevokeAPIKeySuccessResponse:
properties:
code:
example: 200
type: integer
message:
example: success
type: string
requestId:
example: abc-123
type: string
type: object
github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKey:
properties:
createdAt:
type: string
description:
type: string
expiresAt:
type: string
id:
type: string
keyPrefix:
type: string
lastUsedAt:
type: string
name:
type: string
organizationId:
type: string
revokedAt:
type: string
scope:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKeyScope'
userId:
type: string
type: object
GetAPIKeySuccessResponse:
properties:
code:
example: 200
type: integer
data:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKey'
message:
example: success
type: string
requestId:
example: abc-123
type: string
type: object
PaginatedData-github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity_APIKey:
properties:
hasMore:
type: boolean
items:
items:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKey'
type: array
uniqueItems: false
limit:
type: integer
offset:
type: integer
type: object
CreateAPIKeyData_2:
properties:
createdAt:
type: string
createdBy:
type: string
description:
type: string
expiresAt:
type: string
id:
type: string
key:
description: Key is the full plaintext API key, shown only once. Store it securely.
type: string
keyPrefix:
type: string
lastUsedAt:
type: string
lastUsedIp:
type: string
lastUsedUserAgent:
type: string
name:
type: string
organizationId:
type: string
revokedAt:
type: string
scope:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKeyScope'
serviceAccountId:
type: string
userId:
type: string
type: object
github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIRequestAudit:
properties:
apiKeyId:
type: string
clientIp:
type: string
createdAt:
type: string
durationMs:
type: integer
id:
type: string
method:
type: string
organizationId:
type: string
path:
type: string
principalId:
type: string
principalType:
type: string
requestId:
type: string
routePattern:
type: string
serviceAccountId:
type: string
statusCode:
type: integer
userAgent:
type: string
userId:
type: string
type: object
PaginatedData-github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity_APIRequestAudit:
properties:
hasMore:
type: boolean
items:
items:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIRequestAudit'
type: array
uniqueItems: false
limit:
type: integer
offset:
type: integer
type: object
ListAPIRequestAuditsSuccessResponse:
properties:
code:
example: 200
type: integer
data:
$ref: '#/components/schemas/PaginatedData-github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity_APIRequestAudit'
message:
example: success
type: string
requestId:
example: abc-123
type: string
type: object
CreateAPIKeyParams_2:
properties:
description:
type: string
expiresAt:
type: string
name:
type: string
scope:
type: string
serviceAccountId:
type: string
required:
- name
type: object
github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKey_2:
properties:
createdAt:
type: string
createdBy:
type: string
description:
type: string
expiresAt:
type: string
id:
type: string
keyPrefix:
type: string
lastUsedAt:
type: string
lastUsedIp:
type: string
lastUsedUserAgent:
type: string
name:
type: string
organizationId:
type: string
revokedAt:
type: string
scope:
$ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_pkg_entity.APIKeyScope'
serviceAccountId:
type: string
userId:
type: string
type: object
x-refined-from:
- b3-api-keys-api-openapi.yml
- b3-b3os-workflow-openapi.json