Skip to main content
PATCH
/
agent-profile-pools
/
{poolId}
Update Agent Profile Pool
curl --request PATCH \
  --url https://odyssey.asteroid.ai/agents/v2/agent-profile-pools/{poolId} \
  --header 'Content-Type: application/json' \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>' \
  --data '
{
  "allowConcurrentUse": true,
  "name": "<string>",
  "selectionStrategy": "least_recently_used"
}
'
{
  "allowConcurrentUse": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "selectionStrategy": "least_recently_used",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

poolId
string<uuid>
required

The ID of the agent profile pool

Body

application/json

Fields to update

Request to update an existing agent profile pool

allowConcurrentUse
boolean

Whether multiple executions can use the same profile concurrently

name
string

New name for the pool

Required string length: 1 - 255
selectionStrategy
enum<string>

New selection strategy for the pool

Available options:
least_recently_used,
most_recently_used

Response

The request has succeeded.

A pool of agent profiles that can be used for credential rotation

allowConcurrentUse
boolean
required

Whether multiple executions can use the same profile concurrently

createdAt
string<date-time>
required

When the pool was created

id
string<uuid>
required

Unique identifier for the agent profile pool

name
string
required

Name of the agent profile pool (unique within organization)

organizationId
string<uuid>
required

The ID of the organization that owns this pool

selectionStrategy
enum<string>
required

Strategy for selecting an available profile from the pool

Available options:
least_recently_used,
most_recently_used
updatedAt
string<date-time>
required

When the pool was last updated