Page cover

Endpoints

Explore all available Sandbloc API endpoints to manage workflows, agents, and integrations seamlessly.

Sandbloc offers a variety of endpoints to interact with workflows, agents, and integrations. This guide provides an overview of all key endpoints, their usage, and example requests.


1. Base URL

All API requests start with the following base URL:

plaintextCopy codehttps://api.sandbloc.io/v1/

Make sure to include your Sandbloc API Key in the request headers:

httpCopy codeAuthorization: Bearer YOUR_SANDBLOC_API_KEY

2. Endpoints Overview

Endpoint

Method

Description

/workflows

POST

Create a new AI workflow.

/workflows/{id}

GET

Retrieve details of a specific workflow.

/agents

POST

Deploy a new AI agent.

/agents/{id}

GET

Get details of a deployed agent.

/integrations

GET

List all supported integrations.

/vector-stores

GET

Retrieve supported vector stores.


3. Endpoint Details and Examples

1. Create a Workflow

Endpoint:

Request Example:

Response Example:


2. Get Workflow Details

Endpoint:

Request Example:

Response Example:


3. Deploy an AI Agent

Endpoint:

Request Example:

Response Example:


4. Get Agent Details

Endpoint:

Request Example:

Response Example:


5. List All Integrations

Endpoint:

Request Example:

Response Example:


6. Retrieve Supported Vector Stores

Endpoint:

Request Example:

Response Example:


4. Error Responses

API responses include standardized error codes for troubleshooting:

Code

Message

Description

400

Bad Request

Invalid request data.

401

Unauthorized

Missing or invalid API key.

404

Not Found

Resource does not exist.

429

Too Many Requests

Rate limit exceeded.

500

Internal Server Error

Something went wrong on our end.


Conclusion

Sandbloc provides a robust set of endpoints to create workflows, deploy agents, and integrate with AI models and vector stores. Use these APIs to build scalable AI solutions with ease.

For additional resources and advanced examples, explore the full API Reference section.

Last updated