Skip to main content
GET
/
apiKey
/
beta
/
test-targets
/
{testTargetId}
/
test-plans
/
{id}
Get test plan by ID
curl --request GET \
  --url https://app.octomind.dev/api/apiKey/beta/test-targets/{testTargetId}/test-plans/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "status": "CREATED",
  "testTargetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "context": {
    "source": "github",
    "repo": "<string>",
    "owner": "<string>",
    "issueNumber": 123,
    "ref": "<string>",
    "sha": "<string>",
    "triggeredBy": {
      "type": "USER",
      "userId": "<string>"
    },
    "nodeId": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

testTargetId
string<uuid>
required

The ID of the test target

id
string<uuid>
required

The ID of the test plan

Response

Test plan retrieved successfully

schema for a test plan

id
string<uuid>
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
status
enum<string>
required
Available options:
CREATED,
IN_PROGRESS,
ERROR,
DONE
testTargetId
string<uuid>
required
context
object
required