Skip to main content
POST
/
v1
/
evals
/
workbench-setups
/
{setup_id}
/
publications
Publish Workbench Setup
curl --request POST \
  --url https://api.bland.ai/v1/evals/workbench-setups/{setup_id}/publications \
  --header 'authorization: <authorization>'
{
  "errors": null,
  "data": {
    "workbench_setup_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "current_version_id": "e5f6a7b8-c9d0-1234-efab-345678901234",
    "active_version_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "published_version": {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "workbench_setup_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "version_number": 3,
      "name": "Onboarding Quality Check",
      "state": "archived",
      "attached_agent_count": 4,
      "created_by": "9a8b7c6d-5e4f-3210-9876-543210fedcba",
      "created_at": "2026-05-20T14:00:00.000Z",
      "latest_run": null
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.bland.ai/llms.txt

Use this file to discover all available pages before exploring further.

A setup must have at least one attached agent before it can be published. Each attached agent must also have at least one target level key assigned.

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

setup_id
string
required
The ID of the workbench setup to publish.

Response

data.workbench_setup_id
string
ID of the workbench setup that was published.
data.current_version_id
string
ID of the new editable draft version created after publishing.
data.active_version_id
string
ID of the newly published (archived) version. This is now the active version.
data.published_version
object
Summary of the version that was published.
errors
null
null on success.
{
  "errors": null,
  "data": {
    "workbench_setup_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "current_version_id": "e5f6a7b8-c9d0-1234-efab-345678901234",
    "active_version_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "published_version": {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "workbench_setup_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "version_number": 3,
      "name": "Onboarding Quality Check",
      "state": "archived",
      "attached_agent_count": 4,
      "created_by": "9a8b7c6d-5e4f-3210-9876-543210fedcba",
      "created_at": "2026-05-20T14:00:00.000Z",
      "latest_run": null
    }
  }
}