GET
/
{workspaceId}
/
projects
/
{projectName}
/
run
/
{runId}
/
result
runApiResult
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.run.result("my-project", "aabbccddeeffggh");

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

run();
{
"status": "completed",
"runId": "aabbccddeeffggh",
"statusCode": 200,
"result": {
"contracts": [
{
"id": "#1",
"contractor": {
"name": "John Doe",
"phone": 1234567890
}
},
{
"id": "#2",
"contractor": {
"name": "Jane Doe",
"phone": 987654321
}
}
]
}
}

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.

runId
string<nanoid>
required

Run ID

Response

200
application/json

Result of the run operation. Could be pending, completed or failed.

Completed API run result