GET
/
{workspaceId}
/
projects
/
{projectName}
/
queues
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.project.queues.all("my-project");

  // Handle the result
  console.log(result);
}

run();
[
  {
    "id": "my-sample-queue",
    "name": "sample-queue",
    "configuration": {
      "runMode": "Default",
      "retry": {
        "maximumAttempts": 3
      },
      "rateLimits": [
        {
          "limit": 3,
          "duration": "1s"
        }
      ]
    },
    "sink": {
      "type": "webhook",
      "url": "https://webhook.site/1b1b1b1b-1b1b-1b1b-1b1b-1b1b1b1b1b1b"
    },
    "authSession": {
      "id": "1a1a1a1a-1a1a-1a1a-1a1a-1a1a1a1a1a1a"
    },
    "metadata": {
      "meta1": "value1",
      "meta2": "value2"
    }
  }
]

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

Response

200
application/json
List of queues

The response is of type object[].