GET
/
{workspaceId}
/
projects
/
{projectName}
/
queues
/
{queueId}
getQueue
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.one("my-project", "my-sample-queue");

  // 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<uuid>
required

Your workspace ID. How to find it?

projectName
string
required

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

queueId
string
required

Your queue ID. It is the ID of the queue you provided when creating it.

Response

200
application/json

Queue

The response is of type object.