Core instances

Core Instances

Core Instances from a project with backward pagination.

GEThttps://cloud-api.calyptia.com/v1/projects/{projectID}/core_instances
Authorization
Path parameters
projectID*string (uuid)

Parent project ID.

Query parameters
Response

OK

Body
items*array of CoreInstance (object)
endCursor*nullable string
count*number (int32)
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/projects/{projectID}/core_instances', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "my-core-instance",
      "version": "v0.1.12",
      "status": "running",
      "metadata": {
        "aws.ami_id": "text",
        "aws.account_id": "text",
        "aws.hostname": "text",
        "aws.vpc_id": "text",
        "aws.private_ipv4": "text",
        "aws.public_ipv4": "text",
        "aws.ec2_instance_id": "text",
        "aws.ec2_instance_type": "text",
        "aws.az": "text"
      },
      "pipelinesCount": 0,
      "createdAt": "2024-12-22T05:05:09.249Z",
      "updatedAt": "2024-12-22T05:05:09.249Z",
      "tags": [
        "text"
      ],
      "environmentName": "default",
      "skipServiceCreation": false
    }
  ],
  "endCursor": "text",
  "count": 0
}