Skip to main content
GET
/
api
/
workers
/
{workerId}
/
deployments
/
{deploymentId}
/
params
JavaScript
import BrainbaseLabs from 'brainbase-labs';

const client = new BrainbaseLabs({
  apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted
});

const params = await client.workers.deployments.params.list('deploymentId', {
  workerId: 'workerId',
});

console.log(params);
[
  {
    "id": "<string>",
    "name": "<string>",
    "value": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deploymentId": "<string>",
    "description": "<string>"
  }
]

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required
deploymentId
string
required

Response

List of parameters

id
string
required
name
string
required
value
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
deploymentId
string
required
description
string | null