Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelistoverlay
GET/api/1/agent/agentsList AI agents · List agents#
Ask an LLM
“Which AI agents are defined in Bynder?”
“Can I filter agents by status or capabilities?”
Tell an agent
List my AI agents.
Find agents with status {statuses}.
POST/api/1/agent/agentsCreate an AI agent · Create agent#
Ask an LLM
“How do I create an AI agent with a prompt?”
“Can I set capabilities and agent properties when creating an agent?”
Tell an agent
Create an agent named {name} with prompt {prompt} and capabilities {capabilities}.
Create agent {name} described as {description} with capabilities {capabilities} and properties {agentProperties}.
GET/api/1/agent/agents/{id}Get an AI agent · Get agent#
Ask an LLM
“What prompt and capabilities does a specific agent have?”
“Can I look up one agent by id?”
Tell an agent
Get agent {id}.
Show the prompt and capabilities of agent {id}.
PATCH/api/1/agent/agents/{id}Edit an AI agent's prompt · Edit agent#
Ask an LLM
“Can I change the prompt on an existing agent?”
“Is it possible to update an agent's properties after creation?”
Tell an agent
Set the prompt of agent {id} to {prompt}.
Update agent {id} with properties {agentProperties}.
DELETE/api/1/agent/agents/{id}Delete an AI agent · Delete agent#
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: AI Agents API
description: Public entry point for the AI Agents domain. Routes inbound requests to the backend service that owns each operation and applies cross-cutting concerns (authentication, rate limiting, observability) once, at the gateway, rather than per backend service.
version: '1.0'
x-bynder-visibility: mixed
x-bynder-domain: agents
x-bynder-repo: agents-api-gateway-svc
servers:
- url: https://{your-bynder-domain}/
security:
- bearerAuth: []
tags:
- name: Agents
description: Create, list, update, and delete agent definitions.
paths:
/api/1/agent/agents:
x-bynder-visibility: public
get:
tags:
- Agents
summary: List agents
operationId: listAgents
description: 'Lists agents definitions using UUID-cursor pagination. `start` (forward, exclusive of the cursor row) and `before` (backward, inclusive) are mutually exclusive — sending both is a `400` with `{"pagination": "only one of ''before'' or ''start'' is allowed, not both"}`.'
parameters:
- name: start
in: query
description: Forward cursor, exclusive of the cursor row.
schema:
type: string
format: uuid
- name: before
in: query
description: Backward cursor, inclusive of the cursor row.
schema:
type: string
format: uuid
- name: limit
in: query
schema:
type: integer
format: int32
default: 20
minimum: 1
maximum: 100
- name: sort
in: query
schema:
type: string
default: -createdAt
- name: searchTerm
in: query
schema:
type: string
- name: capabilities
in: query
schema:
type: array
items:
type: string
enum:
- ENRICHMENT_AGENT
- TRANSFORMATION_AGENT
- BRAND_COMPLIANCE_AGENT
- GOVERNANCE_AGENT
- PATH_GENERATOR_AGENT
- name: statuses
in: query
schema:
type: array
items:
type: string
enum:
- ACTIVE
- INACTIVE
- DRAFT
- name: autoApply
in: query
schema:
type: array
items:
type: boolean
- name: agentIds
in: query
schema:
type: array
items:
type: string
format: uuid
responses:
'200':
description: Cursor-paginated list of agents.
content:
application/json:
schema:
$ref: '#/components/schemas/CursorPaginatedAgents'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
post:
tags:
- Agents
summary: Create agent
operationId: createAgent
description: 'Creates a new agent with the given name, prompt, and capabilities. Capabilities are set at creation time and cannot be changed
afterwards. ### Prompt and agent properties guide. > For complex agent configuration we recommend using the Manage AI Agents section of the portal and if require get it as base for any custom implementation. `prompt` and `agentProperties` depend on the agent''s capability. `agentProperties` is an object keyed by capability name, for example `{"ENRICHMENT_AGENT": {}}`. It must contain at least one capability key; send the key for each capability in `capabilities`, even when it is empty. Unknown properties are rejected at every level. A capability can only be used if it is enabled for the account. All IDs (metaproperties, options, assets) must be valid UUIDs (version 4). Responses can include a read-only `targetFields` list inside `agentProperties`. The server fills it in from the prompt or from `targetMetapropertyId`; do not send it. #### ENRICHMENT_AGENT
* `prompt.text`: free text. Use `${...}` placeholders to name the fields the agent reads or suggests. Placeholders are case-sensitive. * `${title}`: the asset title. * `${description}`: the asset description. * `${tags}`: the asset tags. * `${metaproperty:}`: a metaproperty, identified by its ID. The ID must be an existing metaproperty of the account. * `${asset:}`: a reference asset. * `agentProperties`: no properties are accepted. Send `{"ENRICHMENT_AGENT": {}}`. Example:
```json
{
"name": "Describe and tag assets",
"description": "Suggests a title, description, tags and metaproperty values",
"capabilities": ["ENRICHMENT_AGENT"],
"prompt": {
"text": "Write a ${title} of up to 60 characters, a ${description} of two sentences and relevant ${tags}. Store the image orientation (landscape, portrait or square) in ${metaproperty:a8f3b214-c7e4-49d1-b5a2-7e91f0c83d6a} and the main subject in ${metaproperty:7d2c4e90-3b1a-4c6f-9e58-0a1b2c3d4e5f}. Follow the style of ${asset:5b3e9a62-1c7d-4f08-8a4e-2d9c6f1b7e30}."
},
"agentProperties": { "ENRICHMENT_AGENT": {} }
}
```
#### GOVERNANCE_AGENT
> Only one Governance Agent type is allowed per account. * `prompt`: not used. * `agentProperties`: no properties are accepted. Send `{"GOVERNANCE_AGENT": {}}`. Example:
```json
{
"name": "Governance",
"description": "Governance checks on assets",
"capabilities": ["GOVERNANCE_AGENT"],
"agentProperties": { "GOVERNANCE_AGENT": {} }
}
```
#### BRAND_COMPLIANCE_AGENT
* `prompt.text`: a JSON array of rules, sent as a string. Each rule is `{"id", "category", "text"}`. Rule text can reference `${asset:}`. * `agentProperties.BRAND_COMPLIANCE_AGENT.targetMetapropertyId`: the ID of the metaproperty the compliance result is written to. Example:
```json
{
"name": "Logo compliance",
"description": "Checks logo, colour and typography rules",
"capabilities": ["BRAND_COMPLIANCE_AGENT"],
"prompt": {
"text": "[{\"id\":\"LO-01\",\"category\":\"Logo\",\"text\":\"The logo must be blue\"},{\"id\":\"LO-02\",\"category\":\"Logo\",\"text\":\"The logo must match ${asset:5b3e9a62-1c7d-4f08-8a4e-2d9c6f1b7e30}\"},{\"id\":\"CO-01\",\"category\":\"Colors\",\"text\":\"The color red must not be present\"},{\"id\":\"TY-01\",\"category\":\"Typography\",\"text\":\"Headlines must be in sentence case\"}]"
},
"agentProperties": {
"BRAND_COMPLIANCE_AGENT": {
"targetMetapropertyId": "a8f3b214-c7e4-49d1-b5a2-7e91f0c83d6a"
}
}
}
```
#### TRANSFORMATION_AGENT
* `prompt`: not used. The text instructions go in `editWithPromptProperties.prompt` and in the background prompt (see below). * `agentProperties.TRANSFORMATION_AGENT`: `removeBackground`, `replaceBackground`, `resize`, `customNaming` and `editWithPrompt` are required booleans. Each flag turns a feature on, and its optional `...Properties` object holds the settings:
* `removeBackgroundProperties`:
* `shadow`: `SOFT`, `HARD`, `FLOATING`, `AUTO_WITH_OVERRIDES`, or `null` for no shadow. * `shadowOverrides`: only allowed when `shadow` is `AUTO_WITH_OVERRIDES`.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AgentCreateRequest'
responses:
'201':
description: Agent created
content:
application/json:
schema:
$ref: '#/components/schemas/Agent'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
/api/1/agent/agents/{id}:
x-bynder-visibility: public
get:
tags:
- Agents
summary: Get agent
operationId: getAgent
description: Returns a single agent by id.
parameters:
- $ref: '#/components/parameters/AgentId'
responses:
'200':
description: Agent
content:
application/json:
schema:
$ref: '#/components/schemas/Agent'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
patch:
tags:
- Agents
summary: Edit agent
operationId: editAgent
description: Partially updates an agent. Only the fields provided in the request body are changed; capabilities cannot be modified after creation. For the `prompt` and `agentProperties` configuration of each capability, see the description of `POST /api/1/agent/agents`.
parameters:
- $ref: '#/components/parameters/AgentId'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AgentUpdateRequest'
responses:
'200':
description: Updated agent
content:
application/json:
schema:
$ref: '#/components/schemas/Agent'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
delete:
tags:
- Agents
summary: Delete agent
operationId: deleteAgent
description: Deletes an agent by id.
parameters:
- $ref: '#/components/parameters/AgentId'
responses:
'204':
description: Agent deleted
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
components:
parameters:
AgentId:
name: id
in: path
required: true
schema:
type: string
format: uuid
schemas:
Prompt:
type: object
description: An agent prompt.
properties:
id:
type: string
format: uuid
readOnly: true
text:
type: string
version:
type: integer
format: int32
readOnly: true
isActive:
type: boolean
readOnly: true
createdAt:
type: string
format: date-time
modifiedAt:
type: string
format: date-time
AgentUpdateRequest:
type: object
description: Request body for a partial update. All fields are optional. Capabilities cannot be changed after the agent is created.
properties:
autoApply:
type: boolean
name:
type: string
maxLength: 50
description:
type: string
maxLength: 130
status:
type: string
enum:
- ACTIVE
- INACTIVE
- DRAFT
prompt:
$ref: '#/components/schemas/PromptInput'
agentProperties:
type: object
additionalProperties: true
Agent:
type: object
description: An agent.
properties:
id:
type: string
format: uuid
readOnly: true
name:
type: string
description:
type: string
prompt:
$ref: '#/components/schemas/Prompt'
createdAt:
type: string
format: date-time
modifiedAt:
type: string
format: date-time
accountId:
type: string
format: uuid
status:
type: string
enum:
- ACTIVE
- INACTIVE
- DRAFT
autoApply:
type: boolean
autoApplyUserId:
type:
- string
- 'null'
format: uuid
agents:
type: array
description: The capabilities of the agent.
items:
type: string
enum:
- ENRICHMENT_AGENT
- TRANSFORMATION_AGENT
- BRAND_COMPLIANCE_AGENT
- GOVERNANCE_AGENT
- PATH_GENERATOR_AGENT
agentProperties:
type: object
additionalProperties: true
createdBy:
type: string
format: uuid
ErrorResponse:
type: object
properties:
code:
type: string
message:
type: string
CursorPaginatedAgents:
type: object
description: A page of agents. `metadata.nextPage` and `metadata.prevPage` are query strings to add to the same request URL, or `null` when there is no such page.
properties:
items:
type: array
items:
$ref: '#/components/schemas/Agent'
metadata:
type: object
properties:
prevPage:
type:
- string
- 'null'
nextPage:
type:
- string
- 'null'
AgentCreateRequest:
type: object
description: The agent to create. `capabilities` defines what the agent can do and cannot be changed afterwards.
required:
- name
- description
- capabilities
- agentProperties
properties:
autoApply:
type: boolean
name:
type: string
maxLength: 50
description:
type: string
maxLength: 130
capabilities:
type: array
minItems: 1
items:
type: string
enum:
- ENRICHMENT_AGENT
- TRANSFORMATION_AGENT
- BRAND_COMPLIANCE_AGENT
- GOVERNANCE_AGENT
- PATH_GENERATOR_AGENT
agentProperties:
type: object
additionalProperties: true
prompt:
$ref: '#/components/schemas/PromptInput'
status:
type: string
enum:
- ACTIVE
- INACTIVE
- DRAFT
PromptInput:
type: object
description: The prompt to set on an agent when you create or edit it. Unlike the read-only `Prompt` in responses, `id` and `version` are optional here.
required:
- text
properties:
id:
type: string
format: uuid
version:
type: integer
format: int32
text:
type: string
maxLength: 10000
responses:
ValidationError:
description: The request body failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
ServerError:
description: Gateway or a downstream service failed to process the request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
NotFound:
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Forbidden:
description: Caller lacks the required permission for this operation
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
TooManyRequests:
description: Caller exceeded its configured request rate
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Unauthorized:
description: Missing or invalid bearer token
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
x-provenance:
method: harvested
publisher: Bynder
source: https://developers.bynder.com/apis/agents/versions/f5aecf98-613e-4ae8-b26a-ec2cdf804b2c.md
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)