{
  "opencollection": "1.0.0",
  "info": {
    "name": "Runloop agents secrets API",
    "version": "0.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "secrets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Secrets.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.runloop.ai/v1/secrets",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The limit of items to return. Default is 20. Max is 5000."
              }
            ]
          },
          "docs": "List all Secrets for the authenticated account. Secret values are not included for security reasons."
        },
        {
          "info": {
            "name": "Create a Secret.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.runloop.ai/v1/secrets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Secret with a globally unique name and value. The Secret will be encrypted at rest and made available as an environment variable in Devboxes."
        },
        {
          "info": {
            "name": "Get a Secret.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.runloop.ai/v1/secrets/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Secret to retrieve."
              }
            ]
          },
          "docs": "Retrieve a Secret by name. The secret value is not included for security."
        },
        {
          "info": {
            "name": "Update a Secret.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.runloop.ai/v1/secrets/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Secret to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the value of an existing Secret by name. The new value will be encrypted at rest."
        },
        {
          "info": {
            "name": "Delete a Secret.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.runloop.ai/v1/secrets/:name/delete",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Secret to delete."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete an existing Secret by name. This action is irreversible and will remove the Secret from all Devboxes."
        }
      ]
    }
  ],
  "bundled": true
}