Test cycles
A cycle is a planned execution of a selection of test cases: a regression pass, a release candidate, a UAT round. Executions belong to a cycle.
List test cycles
/api/v1/test_cyclesQuery parameters
filterstring- A FiltrQL expression, url-encoded. Combine with AND / OR and parentheses. See the Filtering page for the full operator list, or call /filter-reference for the live one.
status = 'PASSED' AND executedAt > now-7dsortstring- Comma-separated field list. Prefix a field with a minus for descending order.
-createdAt,namepage[number]integer- Which page to return, starting at 1.
2page[size]integer- Results per page. Defaults to 25, and the maximum is 100.
50includestring- Comma-separated relationships to side-load into the response, saving a second request. Chains up to 3 deep.
requirement,folderfields[type]string- Return only these attributes for the named resource type - a sparse fieldset. Cuts payload size sharply on wide entities.
fields[test_cases]=name,status
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Attributes returned22
assigneeIduuid | nullcreatedAtdate-timecreatedByuuid | nullcustomFieldsanydeletedAtdate-time | nulldescriptionstring | nullendDatestring | nullenvironmentIduuid | null
Show the remaining 14
folderIduuid | nulliduuidnamestringoccVersionintegerorganizationIduuidprojectIduuidrankintegerstartDatestring | nullstatusstringDRAFTACTIVEIN_PROGRESSDONEtestCycleKeystring | nulltestCycleKeyNumericinteger | nullupdatedAtdate-timeupdatedByuuid | nullversionIduuid | null
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles?page%5Bsize%5D=25" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": [
{
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"status": "DRAFT",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"assigneeId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"customFields": "string"
}
}
],
"meta": {
"totalCount": 128
},
"links": {
"first": "/api/v1/test_cycles?page[number]=1",
"next": "/api/v1/test_cycles?page[number]=2"
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Create a test cycle
/api/v1/test_cyclesNeeds a read-and-write token. A read-only token gets 403.
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+jsonContent-Typestringrequired- Must be application/vnd.api+json on any request with a body. Any other value returns 415 Unsupported Media Type.
application/vnd.api+json
Attributes you can send22
namestringrequiredorganizationIduuidrequiredprojectIduuidrequiredrankintegerrequiredassigneeIduuid | nullcreatedAtdate-timecreatedByuuid | nullcustomFieldsanydeletedAtdate-time | nulldescriptionstring | nullendDatestring | nullenvironmentIduuid | nullfolderIduuid | nulliduuidoccVersionintegerstartDatestring | nullstatusstringDRAFTACTIVEIN_PROGRESSDONEtestCycleKeystring | nulltestCycleKeyNumericinteger | nullupdatedAtdate-timeupdatedByuuid | nullversionIduuid | null
Attributes returned22
assigneeIduuid | nullcreatedAtdate-timecreatedByuuid | nullcustomFieldsanydeletedAtdate-time | nulldescriptionstring | nullendDatestring | nullenvironmentIduuid | null
Show the remaining 14
folderIduuid | nulliduuidnamestringoccVersionintegerorganizationIduuidprojectIduuidrankintegerstartDatestring | nullstatusstringDRAFTACTIVEIN_PROGRESSDONEtestCycleKeystring | nulltestCycleKeyNumericinteger | nullupdatedAtdate-timeupdatedByuuid | nullversionIduuid | null
Responses
- 201Created.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles" \
-X POST \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json" \
-H "Content-Type: application/vnd.api+json" \
-d '{
"data": {
"type": "test_cycles",
"attributes": {
"name": "Checkout rejects an expired card",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"projectId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"rank": 1,
"status": "DRAFT",
"description": "Given a card past its expiry date, the payment is refused."
}
}
}'application/vnd.api+json
{
"data": [
{
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"status": "DRAFT",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"assigneeId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"customFields": "string"
}
}
],
"meta": {
"totalCount": 128
},
"links": {
"first": "/api/v1/test_cycles?page[number]=1",
"next": "/api/v1/test_cycles?page[number]=2"
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Get a test cycle
/api/v1/test_cycles/{id}Path parameters
idstringrequired- The resource id (a UUID).
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Attributes returned22
assigneeIduuid | nullcreatedAtdate-timecreatedByuuid | nullcustomFieldsanydeletedAtdate-time | nulldescriptionstring | nullendDatestring | nullenvironmentIduuid | null
Show the remaining 14
folderIduuid | nulliduuidnamestringoccVersionintegerorganizationIduuidprojectIduuidrankintegerstartDatestring | nullstatusstringDRAFTACTIVEIN_PROGRESSDONEtestCycleKeystring | nulltestCycleKeyNumericinteger | nullupdatedAtdate-timeupdatedByuuid | nullversionIduuid | null
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles/3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": {
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"status": "DRAFT",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"assigneeId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"customFields": "string"
}
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Update a test cycle
/api/v1/test_cycles/{id}Needs a read-and-write token. A read-only token gets 403.
Path parameters
idstringrequired- The resource id (a UUID).
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+jsonContent-Typestringrequired- Must be application/vnd.api+json on any request with a body. Any other value returns 415 Unsupported Media Type.
application/vnd.api+json
Attributes you can send22
assigneeIduuid | nullcreatedAtdate-timecreatedByuuid | nullcustomFieldsanydeletedAtdate-time | nulldescriptionstring | nullendDatestring | nullenvironmentIduuid | nullfolderIduuid | nulliduuidnamestringoccVersionintegerorganizationIduuidprojectIduuidrankintegerstartDatestring | nullstatusstringDRAFTACTIVEIN_PROGRESSDONEtestCycleKeystring | nulltestCycleKeyNumericinteger | nullupdatedAtdate-timeupdatedByuuid | nullversionIduuid | null
Attributes returned22
assigneeIduuid | nullcreatedAtdate-timecreatedByuuid | nullcustomFieldsanydeletedAtdate-time | nulldescriptionstring | nullendDatestring | nullenvironmentIduuid | null
Show the remaining 14
folderIduuid | nulliduuidnamestringoccVersionintegerorganizationIduuidprojectIduuidrankintegerstartDatestring | nullstatusstringDRAFTACTIVEIN_PROGRESSDONEtestCycleKeystring | nulltestCycleKeyNumericinteger | nullupdatedAtdate-timeupdatedByuuid | nullversionIduuid | null
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles/3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33" \
-X PATCH \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json" \
-H "Content-Type: application/vnd.api+json" \
-d '{
"data": {
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"status": "DRAFT",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"assigneeId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33"
}
}
}'application/vnd.api+json
{
"data": {
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"status": "DRAFT",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"assigneeId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"customFields": "string"
}
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Delete a test cycle
/api/v1/test_cycles/{id}Needs a read-and-write token. A read-only token gets 403.
Path parameters
idstringrequired- The resource id (a UUID).
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+jsonContent-Typestringrequired- Must be application/vnd.api+json on any request with a body. Any other value returns 415 Unsupported Media Type.
application/vnd.api+json
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles/3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33" \
-X DELETE \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": {
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {}
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Aggregate test cycles
/api/v1/test_cycles/aggregateHeaders
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles/aggregate" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"meta": {
"count": 128
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Describe the test cycle schema
/api/v1/test_cycles/schemaQuery parameters
filterstring- A FiltrQL expression, url-encoded. Combine with AND / OR and parentheses. See the Filtering page for the full operator list, or call /filter-reference for the live one.
status = 'PASSED' AND executedAt > now-7dsortstring- Comma-separated field list. Prefix a field with a minus for descending order.
-createdAt,namepage[number]integer- Which page to return, starting at 1.
2page[size]integer- Results per page. Defaults to 25, and the maximum is 100.
50includestring- Comma-separated relationships to side-load into the response, saving a second request. Chains up to 3 deep.
requirement,folderfields[type]string- Return only these attributes for the named resource type - a sparse fieldset. Cuts payload size sharply on wide entities.
fields[test_cases]=name,status
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycles/schema?page%5Bsize%5D=25" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": [
{
"type": "test_cycles",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {}
}
],
"meta": {
"totalCount": 128
},
"links": {
"first": "/api/v1/test_cycles?page[number]=1",
"next": "/api/v1/test_cycles?page[number]=2"
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}List test cycle folders
/api/v1/test_cycle_foldersQuery parameters
filterstring- A FiltrQL expression, url-encoded. Combine with AND / OR and parentheses. See the Filtering page for the full operator list, or call /filter-reference for the live one.
status = 'PASSED' AND executedAt > now-7dsortstring- Comma-separated field list. Prefix a field with a minus for descending order.
-createdAt,namepage[number]integer- Which page to return, starting at 1.
2page[size]integer- Results per page. Defaults to 25, and the maximum is 100.
50includestring- Comma-separated relationships to side-load into the response, saving a second request. Chains up to 3 deep.
requirement,folderfields[type]string- Return only these attributes for the named resource type - a sparse fieldset. Cuts payload size sharply on wide entities.
fields[test_cases]=name,status
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Attributes returned11
createdAtdate-timecreatedByuuid | nulldescriptionstring | nulliduuidnamestringorganizationIduuidparentFolderIduuid | nullprojectIduuid
Show the remaining 3
rankintegerupdatedAtdate-timeupdatedByuuid | null
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycle_folders?page%5Bsize%5D=25" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": [
{
"type": "test_cycle_folders",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"parentFolderId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"projectId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33"
}
}
],
"meta": {
"totalCount": 128
},
"links": {
"first": "/api/v1/test_cycle_folders?page[number]=1",
"next": "/api/v1/test_cycle_folders?page[number]=2"
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Create a test cycle folder
/api/v1/test_cycle_foldersNeeds a read-and-write token. A read-only token gets 403.
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+jsonContent-Typestringrequired- Must be application/vnd.api+json on any request with a body. Any other value returns 415 Unsupported Media Type.
application/vnd.api+json
Attributes you can send11
namestringrequiredorganizationIduuidrequiredprojectIduuidrequiredrankintegerrequiredcreatedAtdate-timecreatedByuuid | nulldescriptionstring | nulliduuidparentFolderIduuid | nullupdatedAtdate-timeupdatedByuuid | null
Attributes returned11
createdAtdate-timecreatedByuuid | nulldescriptionstring | nulliduuidnamestringorganizationIduuidparentFolderIduuid | nullprojectIduuid
Show the remaining 3
rankintegerupdatedAtdate-timeupdatedByuuid | null
Responses
- 201Created.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycle_folders" \
-X POST \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json" \
-H "Content-Type: application/vnd.api+json" \
-d '{
"data": {
"type": "test_cycle_folders",
"attributes": {
"name": "Checkout rejects an expired card",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"projectId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"rank": 1,
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z"
}
}
}'application/vnd.api+json
{
"data": [
{
"type": "test_cycle_folders",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"parentFolderId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"projectId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33"
}
}
],
"meta": {
"totalCount": 128
},
"links": {
"first": "/api/v1/test_cycle_folders?page[number]=1",
"next": "/api/v1/test_cycle_folders?page[number]=2"
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Get a test cycle folder
/api/v1/test_cycle_folders/{id}Path parameters
idstringrequired- The resource id (a UUID).
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Attributes returned11
createdAtdate-timecreatedByuuid | nulldescriptionstring | nulliduuidnamestringorganizationIduuidparentFolderIduuid | nullprojectIduuid
Show the remaining 3
rankintegerupdatedAtdate-timeupdatedByuuid | null
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycle_folders/3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": {
"type": "test_cycle_folders",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"parentFolderId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"projectId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33"
}
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Update a test cycle folder
/api/v1/test_cycle_folders/{id}Needs a read-and-write token. A read-only token gets 403.
Path parameters
idstringrequired- The resource id (a UUID).
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+jsonContent-Typestringrequired- Must be application/vnd.api+json on any request with a body. Any other value returns 415 Unsupported Media Type.
application/vnd.api+json
Attributes you can send11
createdAtdate-timecreatedByuuid | nulldescriptionstring | nulliduuidnamestringorganizationIduuidparentFolderIduuid | nullprojectIduuidrankintegerupdatedAtdate-timeupdatedByuuid | null
Attributes returned11
createdAtdate-timecreatedByuuid | nulldescriptionstring | nulliduuidnamestringorganizationIduuidparentFolderIduuid | nullprojectIduuid
Show the remaining 3
rankintegerupdatedAtdate-timeupdatedByuuid | null
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycle_folders/3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33" \
-X PATCH \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json" \
-H "Content-Type: application/vnd.api+json" \
-d '{
"data": {
"type": "test_cycle_folders",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33"
}
}
}'application/vnd.api+json
{
"data": {
"type": "test_cycle_folders",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {
"name": "Checkout rejects an expired card",
"description": "Given a card past its expiry date, the payment is refused.",
"createdAt": "2026-08-18T09:30:00Z",
"updatedAt": "2026-08-18T09:30:00Z",
"createdBy": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"organizationId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"parentFolderId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"projectId": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33"
}
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Delete a test cycle folder
/api/v1/test_cycle_folders/{id}Needs a read-and-write token. A read-only token gets 403.
Path parameters
idstringrequired- The resource id (a UUID).
Headers
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+jsonContent-Typestringrequired- Must be application/vnd.api+json on any request with a body. Any other value returns 415 Unsupported Media Type.
application/vnd.api+json
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycle_folders/3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33" \
-X DELETE \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"data": {
"type": "test_cycle_folders",
"id": "3f2b9c14-8d5e-4a71-9f60-2c1e7b4a8d33",
"attributes": {}
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Aggregate test cycle folders
/api/v1/test_cycle_folders/aggregateHeaders
Authorizationstringrequired- Your API token as a bearer credential.
Bearer bst_pat_YOUR_TOKEN_HEREAcceptstringrequired- Must be application/vnd.api+json. Any other value returns 406 Not Acceptable.
application/vnd.api+json
Responses
- 200OK.
- 403The token is missing, expired, revoked, aimed at another Space, or lacks write access.
- 404No such resource, or it is outside the Space your token reaches.
- 406The Accept header did not include application/vnd.api+json.
- 429Rate limit exceeded: 100 requests a minute per token, shared with MCP.
curl
curl "https://prod-eu.getbestest.com/api/v1/test_cycle_folders/aggregate" \
-H "Authorization: Bearer bst_pat_YOUR_TOKEN_HERE" \
-H "Accept: application/vnd.api+json"application/vnd.api+json
{
"meta": {
"count": 128
}
}Show an error response
any 4xx
{
"errors": [
{
"status": "403",
"title": "Forbidden",
"code": "FORBIDDEN",
"detail": "Access denied.",
"source": {
"pointer": "/data"
}
}
]
}Relationship endpoints
JSON:API exposes each relationship at its own URL. They take the same headers and return the same envelope as everything above, so they are listed rather than documented one by one. In most cases ?include= on the parent request is the better tool: one round trip instead of two.
Show all 27
- GET
/api/v1/test_cycles/{id}/environment - GET
/api/v1/test_cycles/{id}/fkTestCyclesAssigneeUser - GET
/api/v1/test_cycles/{id}/fkTestCyclesCreatedByUser - GET
/api/v1/test_cycles/{id}/fkTestCyclesUpdatedByUser - GET
/api/v1/test_cycles/{id}/organization - GET
/api/v1/test_cycles/{id}/project - GET
/api/v1/test_cycles/{id}/testCycleFolder - GET
/api/v1/test_cycles/{id}/version - POST
/api/v1/test_cycles/{id}/actions/restore - GET
/api/v1/test_cycles/{id}/relationships/environment - GET
/api/v1/test_cycles/{id}/relationships/fkTestCyclesAssigneeUser - GET
/api/v1/test_cycles/{id}/relationships/fkTestCyclesCreatedByUser - GET
/api/v1/test_cycles/{id}/relationships/fkTestCyclesUpdatedByUser - GET
/api/v1/test_cycles/{id}/relationships/organization - GET
/api/v1/test_cycles/{id}/relationships/project - GET
/api/v1/test_cycles/{id}/relationships/testCycleFolder - GET
/api/v1/test_cycles/{id}/relationships/version - GET
/api/v1/test_cycle_folders/{id}/fkTestCycleFoldersCreatedByUser - GET
/api/v1/test_cycle_folders/{id}/fkTestCycleFoldersUpdatedByUser - GET
/api/v1/test_cycle_folders/{id}/organization - GET
/api/v1/test_cycle_folders/{id}/project - GET
/api/v1/test_cycle_folders/{id}/testCycleFolder - GET
/api/v1/test_cycle_folders/{id}/relationships/fkTestCycleFoldersCreatedByUser - GET
/api/v1/test_cycle_folders/{id}/relationships/fkTestCycleFoldersUpdatedByUser - GET
/api/v1/test_cycle_folders/{id}/relationships/organization - GET
/api/v1/test_cycle_folders/{id}/relationships/project - GET
/api/v1/test_cycle_folders/{id}/relationships/testCycleFolder
