{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/app.cloudcompute.ru\/api\/v1"
        }
    ],
    "info": {
        "name": "CloudCompute.ru Compute API",
        "_postman_id": "54497ec1-1669-4e16-b229-45f54f58c09c",
        "description": "CloudCompute REST API for GPU offers, instances, and SSH keys.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Endpoints",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v1\/chat\/completions",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/chat\/completions",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/chat\/completions"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "GET api\/v1\/models",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/models",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/models"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"error\":{\"message\":\"Invalid API key.\",\"type\":\"invalid_request_error\",\"code\":401}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/v1\/offers",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/offers",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/offers"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"error\":{\"message\":\"Invalid API key.\",\"code\":\"invalid_api_key\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/v1\/instances",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/instances",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/instances"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"error\":{\"message\":\"Invalid API key.\",\"code\":\"invalid_api_key\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v1\/instances",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/instances",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/instances"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":16,\"ask_id\":16,\"name\":\"n\",\"stats\":\"architecto\",\"template_image\":\"n\",\"template_id\":16,\"template_hash_id\":\"n\",\"runtype\":\"architecto\",\"disk_gb\":22,\"offer_disk_space\":7,\"install_monitoring\":false,\"ssh_key_ids\":[16]}"
                        },
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "GET api\/v1\/instances\/{instanceId}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/instances\/:instanceId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/instances\/:instanceId",
                            "variable": [
                                {
                                    "id": "instanceId",
                                    "key": "instanceId",
                                    "value": "564",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"error\":{\"message\":\"Invalid API key.\",\"code\":\"invalid_api_key\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "PATCH api\/v1\/instances\/{instanceId}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/instances\/:instanceId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/instances\/:instanceId",
                            "variable": [
                                {
                                    "id": "instanceId",
                                    "key": "instanceId",
                                    "value": "564",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"label\":\"b\",\"name\":\"n\"}"
                        },
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "DELETE api\/v1\/instances\/{instanceId}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/instances\/:instanceId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/instances\/:instanceId",
                            "variable": [
                                {
                                    "id": "instanceId",
                                    "key": "instanceId",
                                    "value": "564",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "GET api\/v1\/ssh-keys",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ssh-keys",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/ssh-keys"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"error\":{\"message\":\"Invalid API key.\",\"code\":\"invalid_api_key\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v1\/ssh-keys",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ssh-keys",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/ssh-keys"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"public_key\":\"architecto\",\"name\":\"architecto\"}"
                        },
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "DELETE api\/v1\/ssh-keys\/{sshKeyId}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v1\/ssh-keys\/:sshKeyId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v1\/ssh-keys\/:sshKeyId",
                            "variable": [
                                {
                                    "id": "sshKeyId",
                                    "key": "sshKeyId",
                                    "value": "564",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": []
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "key",
                "type": "string"
            }
        ]
    }
}