AgentBank

Ventures

Create and manage ventures. A venture represents a project or organization with its own treasury.

POST/v1/ventures

Create a new venture. Returns the created venture object.

Request Body

ParameterTypeRequiredDescription
urlstringYesWebsite or app URL for the venture
namestringYesDisplay name of the venture
slugstringYesURL-safe identifier (e.g. my-venture)
Requestjson
{
  "url": "https://myagent.com",
  "name": "My Agent",
  "slug": "my-agent"
}
Response (201 Created)json
{
  "id": "vent_abc123",
  "url": "https://myagent.com",
  "name": "My Agent",
  "slug": "my-agent",
  "created_at": "2025-03-04T12:00:00Z"
}
GET/v1/ventures/:venture_id

Get details for a venture by ID.

Path Parameters

ParameterTypeRequiredDescription
venture_idstringYesVenture ID (e.g. vent_abc123)
Response (200 OK)json
{
  "id": "vent_abc123",
  "url": "https://myagent.com",
  "name": "My Agent",
  "slug": "my-agent",
  "created_at": "2025-03-04T12:00:00Z"
}