Skip to main content
GET
/
api
/
partner
/
v1
/
project-links
curl -sS https://app.opentrain.ai/api/partner/v1/project-links \
  -H "Authorization: Bearer $OT_PARTNER_TOKEN"
{
  "projectLinks": [
    {
      "id": "<LINK_ID>",
      "jobId": "<OPENTRAIN_JOB_ID>",
      "externalProjectId": "42",
      "externalProjectName": "Traffic signs batch 3",
      "externalProjectUrl": "https://your-platform.example.com/projects/42",
      "provisioningMode": "PARTNER_WEBHOOK",
      "createdAt": "2026-06-12T10:00:00.000Z"
    }
  ]
}
Lists every project link on the calling token’s install, newest first. There is no pagination — installs hold a bounded number of links. Requirements: project-links:read scope (implied by project-links:write).

Request

No parameters.

Response

Array of project links, newest first. Each: {id, jobId, externalProjectId, externalProjectName, externalProjectUrl, provisioningMode, createdAt} — same shape as GET /project-links/{linkId}.

Errors

StatuscodeMeaning
401UNAUTHORIZEDMissing, invalid, or revoked token
403FORBIDDENToken lacks project-links:read
curl -sS https://app.opentrain.ai/api/partner/v1/project-links \
  -H "Authorization: Bearer $OT_PARTNER_TOKEN"
{
  "projectLinks": [
    {
      "id": "<LINK_ID>",
      "jobId": "<OPENTRAIN_JOB_ID>",
      "externalProjectId": "42",
      "externalProjectName": "Traffic signs batch 3",
      "externalProjectUrl": "https://your-platform.example.com/projects/42",
      "provisioningMode": "PARTNER_WEBHOOK",
      "createdAt": "2026-06-12T10:00:00.000Z"
    }
  ]
}