{
  "info": {
    "_postman_id": "541ba34b-26f2-49e0-aaf9-c493de1b8d75",
    "name": "TensorDock Instances Secrets API",
    "description": "The current TensorDock Instances API (v2) for creating, listing, inspecting,\nstarting, stopping, modifying, and deleting GPU and CPU virtual machines on\nthe TensorDock marketplace. Authentication uses a Bearer token generated\nfrom the Developer Settings page at https://dashboard.tensordock.com/api.\n\nRequests and responses follow a JSON:API-style envelope with `data.type`,\n`data.id`, and `data.attributes` fields. Rate limited at 100 requests per\nminute per organization.\n\n\nContact Support:\n Name: TensorDock Support\n Email: support@tensordock.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:03:49.000Z",
    "updatedAt": "2026-07-28T11:03:49.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-541ba34b-26f2-49e0-aaf9-c493de1b8d75"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "v2",
          "item": [
            {
              "name": "secrets",
              "item": [
                {
                  "name": "{id}",
                  "item": [
                    {
                      "name": "Get Secret",
                      "id": "7a8ce94f-3ac4-4c5c-bdf7-73f8e9a35e45",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v2/secrets/:id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v2",
                            "secrets",
                            ":id"
                          ],
                          "variable": [
                            {
                              "id": "45844f1f-68be-4d78-bfbf-f76eb0ec535c",
                              "key": "id",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Retrieve a secret by ID. For secrets of type `GENERIC` / `SECRET`, the `value` field is never returned."
                      },
                      "response": [
                        {
                          "id": "d8769759-bd40-4ebd-b7a1-aa144faa6662",
                          "name": "Secret details.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v2/secrets/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v2",
                                "secrets",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"data\": {\n    \"type\": \"<string>\",\n    \"id\": \"<string>\",\n    \"attributes\": {\n      \"name\": \"<string>\",\n      \"secret_type\": \"SECRET\",\n      \"value\": \"<string>\"\n    }\n  }\n}",
                          "createdAt": "2026-07-28T11:03:50.000Z",
                          "updatedAt": "2026-07-28T11:03:50.000Z",
                          "uid": "35240-d8769759-bd40-4ebd-b7a1-aa144faa6662"
                        }
                      ],
                      "createdAt": "2026-07-28T11:03:50.000Z",
                      "updatedAt": "2026-07-28T11:03:50.000Z",
                      "uid": "35240-7a8ce94f-3ac4-4c5c-bdf7-73f8e9a35e45"
                    },
                    {
                      "name": "Delete Secret",
                      "id": "5f8d28d1-7ef5-4c38-8372-969fa8cd7616",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v2/secrets/:id",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v2",
                            "secrets",
                            ":id"
                          ],
                          "variable": [
                            {
                              "id": "d0e74300-43d8-43ef-a778-e047a6d43e76",
                              "key": "id",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Permanently delete a secret."
                      },
                      "response": [
                        {
                          "id": "91336bf9-baf8-4dc2-a68d-e4a6edb9a6a2",
                          "name": "Secret deleted.",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/v2/secrets/:id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "v2",
                                "secrets",
                                ":id"
                              ],
                              "variable": [
                                {
                                  "key": "id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"data\": {\n    \"type\": \"<string>\",\n    \"message\": \"<string>\"\n  }\n}",
                          "createdAt": "2026-07-28T11:03:50.000Z",
                          "updatedAt": "2026-07-28T11:03:50.000Z",
                          "uid": "35240-91336bf9-baf8-4dc2-a68d-e4a6edb9a6a2"
                        }
                      ],
                      "createdAt": "2026-07-28T11:03:50.000Z",
                      "updatedAt": "2026-07-28T11:03:50.000Z",
                      "uid": "35240-5f8d28d1-7ef5-4c38-8372-969fa8cd7616"
                    }
                  ],
                  "id": "1c7d8f9a-4757-47b0-ba4f-5565247f153b",
                  "createdAt": "2026-07-28T11:03:50.000Z",
                  "updatedAt": "2026-07-28T11:03:50.000Z",
                  "uid": "35240-1c7d8f9a-4757-47b0-ba4f-5565247f153b"
                },
                {
                  "name": "List Secrets",
                  "id": "ade8d80c-1146-4ff0-a40b-33593296f94c",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/v2/secrets",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "v2",
                        "secrets"
                      ]
                    },
                    "description": "List all secrets registered for the calling organization. The `value` of `GENERIC` / `SECRET` typed entries is never returned."
                  },
                  "response": [
                    {
                      "id": "c460ff52-468e-47bf-a867-411c0120b70a",
                      "name": "Array of secrets.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/v2/secrets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v2",
                            "secrets"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": {\n    \"secrets\": [\n      {\n        \"type\": \"<string>\",\n        \"id\": \"<string>\",\n        \"attributes\": {\n          \"name\": \"<string>\",\n          \"secret_type\": \"SSHKEY\",\n          \"value\": \"<string>\"\n        }\n      },\n      {\n        \"type\": \"<string>\",\n        \"id\": \"<string>\",\n        \"attributes\": {\n          \"name\": \"<string>\",\n          \"secret_type\": \"SECRET\",\n          \"value\": \"<string>\"\n        }\n      }\n    ]\n  }\n}",
                      "createdAt": "2026-07-28T11:03:50.000Z",
                      "updatedAt": "2026-07-28T11:03:50.000Z",
                      "uid": "35240-c460ff52-468e-47bf-a867-411c0120b70a"
                    }
                  ],
                  "createdAt": "2026-07-28T11:03:50.000Z",
                  "updatedAt": "2026-07-28T11:03:50.000Z",
                  "uid": "35240-ade8d80c-1146-4ff0-a40b-33593296f94c"
                },
                {
                  "name": "Create Secret",
                  "id": "a5746356-6e51-464b-91cb-fbcd5ab4ce83",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"data\": {\n    \"type\": \"<string>\",\n    \"attributes\": {\n      \"name\": \"<string>\",\n      \"value\": \"<string>\",\n      \"secret_type\": \"SSHKEY\"\n    }\n  }\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/api/v2/secrets",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "v2",
                        "secrets"
                      ]
                    },
                    "description": "Create a new SSH key or generic secret. The `value` of `GENERIC` / `SECRET` typed entries is encrypted at rest and never returned after creation."
                  },
                  "response": [
                    {
                      "id": "76228485-1c86-4dae-a40d-3d3798c5d42f",
                      "name": "Secret created.",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: bearer",
                            "key": "Authorization",
                            "value": "Bearer <token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"data\": {\n    \"type\": \"<string>\",\n    \"attributes\": {\n      \"name\": \"<string>\",\n      \"value\": \"<string>\",\n      \"secret_type\": \"SSHKEY\"\n    }\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/v2/secrets",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "v2",
                            "secrets"
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": {\n    \"type\": \"<string>\",\n    \"id\": \"<string>\",\n    \"attributes\": {\n      \"name\": \"<string>\",\n      \"secret_type\": \"SECRET\",\n      \"value\": \"<string>\"\n    }\n  }\n}",
                      "createdAt": "2026-07-28T11:03:50.000Z",
                      "updatedAt": "2026-07-28T11:03:50.000Z",
                      "uid": "35240-76228485-1c86-4dae-a40d-3d3798c5d42f"
                    }
                  ],
                  "createdAt": "2026-07-28T11:03:50.000Z",
                  "updatedAt": "2026-07-28T11:03:50.000Z",
                  "uid": "35240-a5746356-6e51-464b-91cb-fbcd5ab4ce83"
                }
              ],
              "id": "eb301cb5-e5de-41e1-a1a2-925bef9b9ec7",
              "createdAt": "2026-07-28T11:03:50.000Z",
              "updatedAt": "2026-07-28T11:03:50.000Z",
              "uid": "35240-eb301cb5-e5de-41e1-a1a2-925bef9b9ec7"
            }
          ],
          "id": "105ab628-42ae-4161-9035-2755cb53154e",
          "createdAt": "2026-07-28T11:03:50.000Z",
          "updatedAt": "2026-07-28T11:03:50.000Z",
          "uid": "35240-105ab628-42ae-4161-9035-2755cb53154e"
        }
      ],
      "id": "233ad84a-f130-46c1-be3b-17ef5e2de2af",
      "createdAt": "2026-07-28T11:03:50.000Z",
      "updatedAt": "2026-07-28T11:03:50.000Z",
      "uid": "35240-233ad84a-f130-46c1-be3b-17ef5e2de2af"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://dashboard.tensordock.com"
    }
  ]
}