API
Complete reference for the Bindplane REST API.
The Bindplane API provides programmatic access to all Bindplane functionality. This documentation covers all available endpoints organized by resource type.
Authentication
All API requests require authentication using an API key. Include your API key in the X-Bindplane-Api-Key header:
curl -H "X-Bindplane-Api-Key: your-api-key" https://app.bindplane.com/v1/endpointBase URL
Cloud:
https://app.bindplane.comSelf-hosted:
https://your-bindplane-instance.com
Swagger
OpenAPI:
https://app.bindplane.com/swagger/index.html
API Endpoints
Accounts
List Accounts -
GET /v1/accountsGet Account by ID -
GET /v1/accounts/{id}Create Account -
POST /v1/accountsUpdate Account -
PATCH /v1/accountsUpdate Current Account -
PATCH /v1/accounts/currentDelete Account -
DELETE /v1/accounts/{id}
Agent Types
List Agent Types -
GET /v1/agent-typesGet Agent Type by Name -
GET /v1/agent-type/{name}Delete Agent Type -
DELETE /v1/agent-types/{name}
Agent Versions
List Agent Versions -
GET /v1/agent-versionsGet Agent Version by Name -
GET /v1/agent-version/{name}Get Install Command -
GET /v1/agent-versions/{type}/{version}/install-commandSync Agent Version -
POST /v1/agent-versions/{type}/{version}/syncDelete Agent Version -
DELETE /v1/agent-version/{name}
Agents
List Agents -
GET /v1/agentsGet Agent by ID -
GET /v1/agents/{id}Get Agent Configuration -
GET /v1/agents/{id}/configurationGet Agent Labels -
GET /v1/agents/{id}/labelsUpdate Agent Labels -
PATCH /v1/agents/{id}/labelsUpdate Agent Version -
POST /v1/agents/{id}/versionDisconnect Agent -
POST /v1/agents/{id}/disconnectUpdate Agent Labels (Bulk) -
PATCH /v1/agents/labelsUpdate Agent Version (Bulk) -
PATCH /v1/agents/versionDelete Agents -
DELETE /v1/agents
Audit Events
List Audit Events -
GET /v1/audit-eventsDownload Audit Events -
GET /v1/audit-events/download
Available Components
List Available Components -
GET /v1/available-componentsGet Available Component by Hash -
GET /v1/available-components/{hash}
Configurations
List Configurations -
GET /v1/configurationsGet Configuration by Name -
GET /v1/configurations/{name}Copy Configuration -
POST /v1/configurations/{name}/copyRevert Configuration -
PUT /v1/configurations/{name}/revertDelete Configuration -
DELETE /v1/configurations/{name}
Destination Types
List Destination Types -
GET /v1/destination-typesGet Destination Type by Name -
GET /v1/destination-types/{name}Delete Destination Type -
DELETE /v1/destination-types/{name}
Destinations
List Destinations -
GET /v1/destinationsGet Destination by Name -
GET /v1/destinations/{name}Delete Destination -
DELETE /v1/destinations/{name}
Extension Types
List Extension Types -
GET /v1/extension-typesGet Extension Type by Name -
GET /v1/extension-types/{name}Delete Extension Type -
DELETE /v1/extension-types/{name}
Extensions
List Extensions -
GET /v1/extensionsGet Extension by Name -
GET /v1/extensions/{name}Delete Extension -
DELETE /v1/extensions/{name}
Fleets
List Fleets -
GET /v1/fleets
Organizations
List Organizations -
GET /v1/organizationsCreate Organization -
POST /v1/organizationsGet Organization by Name -
GET /v1/organizations/{name}Update Organization Metadata -
PATCH /v1/organizations/{id}/metadataDelete Organization -
DELETE /v1/organizations/{id}Get Organization Accounts -
GET /v1/organizations/accountsGet All Organization Accounts -
GET /v1/organizations/accounts/allGet Organization Projects -
GET /v1/organizations/projectsGet All Organization Projects -
GET /v1/organizations/projects/allGet Organization Users -
GET /v1/organizations/usersVerify Organization -
PUT /v1/organizations/verifyUpdate Organization License -
PUT /v1/organizations/:id/license
Processor Types
List Processor Types -
GET /v1/processor-typesGet Processor Type by Name -
GET /v1/processor-types/{name}Delete Processor Type -
DELETE /v1/processor-types/{name}
Processors
List Processors -
GET /v1/processorsGet Processor by Name -
GET /v1/processors/{name}Delete Processor -
DELETE /v1/processors/{name}
Projects
List Projects -
GET /v1/projectsCreate Project -
POST /v1/projectsGet Project by ID -
GET /v1/projects/{id}Update Project -
PATCH /v1/projectsUpdate Current Project -
PATCH /v1/projects/currentUpdate Project Next Login -
PATCH /v1/projects/next-loginDelete Project -
DELETE /v1/projects/{id}
Recommendation Types
List Recommendation Types -
GET /v1/recommendation-typesGet Recommendation Type by Name -
GET /v1/recommendation-types/{name}Delete Recommendation Type -
DELETE /v1/recommendation-types/{name}
Resources
List Resources by Kind -
GET /v1/resources/{kind}Get Resource by Kind and Name -
GET /v1/resources/{kind}/{name}Delete Resource -
DELETE /v1/resources/{kind}/{name}
Rollouts
List Rollouts -
GET /v1/rolloutsCreate Rollout -
POST /v1/rolloutsGet Rollout by Name -
GET /v1/rollouts/{name}Get Rollout Status -
GET /v1/rollouts/{name}/statusStart Rollout -
POST /v1/rollouts/{name}/startUpdate Rollout -
POST /v1/rollouts/{name}/updatePause Rollout -
PUT /v1/rollouts/{name}/pauseResume Rollout -
PUT /v1/rollouts/{name}/resume
Secret Keys
List Secret Keys -
GET /v1/secret-keysCreate Secret Key -
POST /v1/secret-keysSet Default Secret Key -
POST /v1/secret-keys/{key}/defaultDelete Secret Key -
DELETE /v1/secret-keys/{key}
Source Types
List Source Types -
GET /v1/source-typesGet Source Type by Name -
GET /v1/source-types/{name}Delete Source Type -
DELETE /v1/source-types/{name}
Sources
List Sources -
GET /v1/sourcesGet Source by Name -
GET /v1/sources/{name}Delete Source -
DELETE /v1/sources/{name}
Users
List Users -
GET /v1/usersCreate User -
POST /v1/usersGet User by ID -
GET /v1/users/{id}Delete User -
DELETE /v1/users/{id}
System
Get Version -
GET /v1/versionAccept EULA -
PUT /v1/accept-eulaApply Changes -
POST /v1/applyDelete Resources -
POST /v1/deleteGet Resource History -
GET /v1/{kind}/{name}/historyUpdate System License Key -
PUT /v1/system/v1/license-keyUpdate Organization License -
PUT /v1/organization-licenseCreate Offline Agent Version -
POST /v1/offline-agent-version/{version}Stream Offline Agent Version -
POST /v1/offline-agent-version/{version}/stream
Response Format
All API responses are returned in JSON format. Successful responses typically return a 200 status code with the requested data.
Error Handling
The API uses standard HTTP status codes to indicate success or failure:
200 OK- Request successful201 Created- Resource created successfully400 Bad Request- Invalid request parameters401 Unauthorized- Missing or invalid API key403 Forbidden- Insufficient permissions404 Not Found- Resource not found500 Internal Server Error- Server error
Error responses include a JSON object with error details:
{
"error": "Error message",
"code": "ERROR_CODE"
}Rate Limiting
API requests are subject to rate limiting. If you exceed the rate limit, you'll receive a 429 status code. Implement exponential backoff in your applications to handle rate limiting gracefully.
Last updated
Was this helpful?