Skip to main content
GET
/
v3
/
training-standards
Retrieve training standards
curl --request GET \
  --url https://api.ctrl-hub.com/v3/training-standards \
  --header 'X-Session-Token: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "<string>",
      "attributes": {
        "title": "<string>",
        "status": "ingested",
        "provenance": "citb",
        "grant_ts_code": "<string>",
        "occupational_area": "<string>",
        "product_type": "Recognised",
        "url": "<string>",
        "citb_status": "Published",
        "grant_tier": "<string>",
        "grant_amount_pence": 123,
        "renewal_period_months": 123,
        "last_updated_at": "2023-11-07T05:31:56Z",
        "last_synced_at": "2023-11-07T05:31:56Z"
      },
      "meta": {
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "relationships": {
        "standards_body": {
          "data": {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "type": "<string>"
          }
        },
        "categories": {
          "data": [
            {
              "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "type": "<string>"
            }
          ]
        }
      }
    }
  ],
  "meta": {
    "pagination": {
      "counts": {
        "pages": 123,
        "resources": 123
      },
      "current_page": 123,
      "offsets": {
        "next": 123,
        "previous": 123
      },
      "requested": {
        "limit": 123,
        "offset": 123
      }
    },
    "features": {
      "include": {
        "options": [
          "<string>"
        ]
      }
    }
  },
  "jsonapi": {
    "version": "<string>"
  },
  "included": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "<string>",
      "attributes": {
        "name": "<string>",
        "provenance": "citb",
        "acronym": "<string>",
        "website": "<string>"
      }
    }
  ]
}

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Query Parameters

filter
string
default:""

Filters the response data based on the value provided.

For more information on using named filters, see the docs

sort
enum<string>[]

A comma separated list of fields to sort by.

Available options:
title,
-title,
occupational_area,
-occupational_area,
created_at,
-created_at
include
enum<string>[]

A comma separated list of related resources to include.

Available options:
standards_body,
categories
limit
integer<int64>
default:100

Limit the number of resources returned by the API

Required range: x >= 1
offset
integer<int64>
default:0

Offset the resources returned by the API

Required range: x >= 0

Response

Get a list of training standards.

JSON API response object

data
A list of training standards · object[]
required
meta
object
required
jsonapi
object
required
included
object[]

Related resources that can be included when a training standard is returned

A standards body