Rulebase Agent releases API
The Agent releases API from Rulebase — 1 operation(s) for agent releases.
The Agent releases API from Rulebase — 1 operation(s) for agent releases.
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/rulebase:rulebase-agent-releases-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. 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: Rulebase API2 Agent releases API
version: 0.0.1
tags:
- name: Agent releases
paths:
/v1/agent_releases:
post:
tags:
- Agent releases
summary: Record an agent release
description: Records that a new version of an agent was deployed. Call it from CI after each production deploy. Sending the same `commit_sha` (or, without one, the same `name`) again returns the existing release, so retries are safe.
operationId: createAgentRelease
security:
- bearerAuth: []
requestBody:
content:
application/json:
schema:
type: object
properties:
agent_id:
type: string
format: uuid
description: The agent's ID, from Settings → Agents.
name:
type: string
minLength: 1
maxLength: 120
description: Version label shown in Agent monitoring, e.g. v1.4.2.
released_at:
type: string
format: date-time
description: When the deploy finished. Defaults to now.
commit_sha:
type: string
minLength: 7
maxLength: 64
notes:
type: string
maxLength: 2000
required:
- agent_id
- name
additionalProperties: false
responses:
'200':
description: A release for this commit or name already exists
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
format: uuid
agent_id:
type: string
format: uuid
name:
type: string
released_at:
type: string
nullable: true
format: date-time
released_on:
type: string
commit_sha:
type: string
nullable: true
notes:
type: string
nullable: true
required:
- id
- agent_id
- name
- released_at
- released_on
- commit_sha
- notes
required:
- data
'201':
description: Release recorded
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
format: uuid
agent_id:
type: string
format: uuid
name:
type: string
released_at:
type: string
nullable: true
format: date-time
released_on:
type: string
commit_sha:
type: string
nullable: true
notes:
type: string
nullable: true
required:
- id
- agent_id
- name
- released_at
- released_on
- commit_sha
- notes
required:
- data
'401':
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: Agent not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key