Dynamic Behavior Sets
List the workspace's dynamic behavior sets with pagination, without their versions. Sets that aren't archived by default. Filter by name text, tag, or the service whose version sets pin them. Requires DynamicBehaviorSet.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
[]Sets whose name contains this text, whatever the case.
Sets that carry this tag.
False (the default): sets that aren't archived. True: only archived sets.
falseSets that one of this service's version sets pins.
50Successful Response
Missing or invalid API key.
Insufficient permissions.
Validation Error
Rate limited.
GET /v1/{workspace_id}/dynamic-behavior-sets HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"tags": [
"text"
],
"latest_version": 1,
"archived_at": "2026-01-01T00:00:00.000Z",
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
],
"has_more": true,
"continuation_token": null
}Create a set with its version 1, together. The name is unique among the workspace's sets that aren't archived, whatever the case. id is optional, and setting it needs the platform:admin scope: an import that derives it from the source's id gets a 409 instead of a second set when it creates the set again. Requires DynamicBehaviorSet.create permission, for a first version in add or replace mode alike.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
A new set, written with its first version.
The set's id, unique across workspaces. Omitted, the platform generates it; setting it needs the
platform:admin scope. A client that derives it from something stable, as an import does from its
workspace's id and the source's id, gets a conflict instead of a second set when it creates the set again.
What authors call it. Unique in the workspace among sets that aren't archived, whatever the case. The selector reads it with the condition and examples, and the reply prompt never does.
Labels for authors. They never reach a prompt.
Successful Response
A set in the library, without its versions.
When it was archived. Null: not archived.
Missing or invalid API key.
Insufficient permissions.
The name or the id is already in use.
Invalid request body.
Rate limited.
POST /v1/{workspace_id}/dynamic-behavior-sets HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 197
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"tags": [
"text"
],
"first_version": {
"condition": "text",
"examples": [
"text"
],
"instruction": "text",
"mode": "add",
"sticky_turns": 1,
"note": "text"
}
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"tags": [
"text"
],
"latest_version": 1,
"archived_at": "2026-01-01T00:00:00.000Z",
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}Retrieve a set, without its versions, with the number of its latest version. Requires DynamicBehaviorSet.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
A set in the library, without its versions.
When it was archived. Null: not archived.
Missing or invalid API key.
Insufficient permissions.
Dynamic behavior set not found.
Validation Error
Rate limited.
GET /v1/{workspace_id}/dynamic-behavior-sets/{set_id} HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"tags": [
"text"
],
"latest_version": 1,
"archived_at": "2026-01-01T00:00:00.000Z",
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}Change a set's name, tags or archive state without a new version. A field left out stays as it is. A set is never deleted: archived: true takes it out of the default list and gives its name back, and is refused (409, naming the services) while a version set pins it. Requires DynamicBehaviorSet.update permission, and DynamicBehaviorSet.delete to archive.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
What can change on a set without a new version. A field left out stays as it is.
What authors call it. The selector reads the name, so a rename changes what it sees for every service that pins the set, without a new version.
True archives the set, which a version set that pins it refuses. False brings it back.
Successful Response
A set in the library, without its versions.
When it was archived. Null: not archived.
Missing or invalid API key.
Insufficient permissions.
Dynamic behavior set not found.
The name is in use by a set that isn't archived, or version sets pin the set an archive would remove.
Invalid request body.
Rate limited.
PATCH /v1/{workspace_id}/dynamic-behavior-sets/{set_id} HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"name": "text",
"tags": [
"text"
],
"archived": true
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"tags": [
"text"
],
"latest_version": 1,
"archived_at": "2026-01-01T00:00:00.000Z",
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}List the services whose version sets pin the set, with each pinning version set, the version it runs, whether the pin is enabled and its states. A pinned set cannot be archived. Requires DynamicBehaviorSet.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
50Successful Response
Missing or invalid API key.
Insufficient permissions.
Dynamic behavior set not found.
Validation Error
Rate limited.
GET /v1/{workspace_id}/dynamic-behavior-sets/{set_id}/usage HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"version_sets": [
{
"name": "text",
"version": 1,
"enabled": true,
"states": [
"text"
]
}
]
}
],
"has_more": true,
"continuation_token": null
}List a set's versions, newest first, with pagination. Requires DynamicBehaviorSet.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
20Successful Response
Missing or invalid API key.
Insufficient permissions.
Dynamic behavior set or version not found.
Validation Error
Rate limited.
GET /v1/{workspace_id}/dynamic-behavior-sets/{set_id}/versions HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"condition": "text",
"examples": [
"text"
],
"instruction": "text",
"mode": "add",
"sticky_turns": 1,
"note": "text",
"set_id": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z"
}
],
"has_more": true,
"continuation_token": null
}Write the set's next version. expected_latest_version is the latest version the write was made from; when the set has moved on, or another write took the next number first, nothing is stored and the response is a 409. A version never changes, and no service runs it until its version set pins it. Requires DynamicBehaviorSet.update permission, for a version in add or replace mode alike.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
The latest version this write was made from. When the set has a different latest version, the write is refused with 409.
The next version of a set, or the first version of a new one.
When it applies, in terms of what the client wants or says. It describes the behavior to the selector.
Things a client says when it applies. The selector reads them; the reply never does.
The guidance the reply follows while the behavior is in force. The selector never reads it. Null: the behavior is decided and recorded, and changes no reply.
add: the guidance yields to every action guideline. replace: it stands in for the reply's action
guidelines, while boundary constraints, guardrails and safety rules stay. A replace-mode version needs an
instruction.
addPossible values: The fewest caller turns it stays in force once applied, counting the turn it was applied on.
1What changed, for the people reading the set's history. It never reaches a prompt.
Successful Response
One version of a set, as it was written.
When it applies, in terms of what the client wants or says. It describes the behavior to the selector.
Things a client says when it applies. The selector reads them; the reply never does.
The guidance the reply follows while the behavior is in force. The selector never reads it. Null: the behavior is decided and recorded, and changes no reply.
add: the guidance yields to every action guideline. replace: it stands in for the reply's action
guidelines, while boundary constraints, guardrails and safety rules stay. A replace-mode version needs an
instruction.
addPossible values: The fewest caller turns it stays in force once applied, counting the turn it was applied on.
1What changed, for the people reading the set's history. It never reaches a prompt.
Missing or invalid API key.
Insufficient permissions.
Dynamic behavior set or version not found.
The set's latest version isn't expected_latest_version, or the set is archived.
Invalid request body.
Rate limited.
POST /v1/{workspace_id}/dynamic-behavior-sets/{set_id}/versions?expected_latest_version=1 HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"condition": "text",
"examples": [
"text"
],
"instruction": "text",
"mode": "add",
"sticky_turns": 1,
"note": "text"
}{
"condition": "text",
"examples": [
"text"
],
"instruction": "text",
"mode": "add",
"sticky_turns": 1,
"note": "text",
"set_id": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z"
}Get a dynamic behavior set version
Retrieve one version of a set, as it was written. Requires DynamicBehaviorSet.view permission.
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
One version of a set, as it was written.
When it applies, in terms of what the client wants or says. It describes the behavior to the selector.
Things a client says when it applies. The selector reads them; the reply never does.
The guidance the reply follows while the behavior is in force. The selector never reads it. Null: the behavior is decided and recorded, and changes no reply.
add: the guidance yields to every action guideline. replace: it stands in for the reply's action
guidelines, while boundary constraints, guardrails and safety rules stay. A replace-mode version needs an
instruction.
addPossible values: The fewest caller turns it stays in force once applied, counting the turn it was applied on.
1What changed, for the people reading the set's history. It never reaches a prompt.
Missing or invalid API key.
Insufficient permissions.
Dynamic behavior set or version not found.
Validation Error
Rate limited.
GET /v1/{workspace_id}/dynamic-behavior-sets/{set_id}/versions/{version} HTTP/1.1
Host: platform.api-us.concurrence.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"condition": "text",
"examples": [
"text"
],
"instruction": "text",
"mode": "add",
"sticky_turns": 1,
"note": "text",
"set_id": "123e4567-e89b-12d3-a456-426614174000",
"version": 1,
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z"
}Last updated
Was this helpful?

