---
updatedAt: 2026-07-17T18:00:07.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# Get simulation attachments

Retrieve simulation attachment details based on the filters

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Platform setup - Rates and fees",
    "description": "Rates and fees API endpoint documentation.",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io/rates",
      "description": "Sandbox API server for testing"
    }
  ],
  "tags": [
    {
      "name": "Simulation",
      "description": "Simulation endpoints"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "schemas": {
      "BadRequestError": {
        "type": "object",
        "properties": {
          "error_code": {
            "type": "string",
            "description": "Error code ID",
            "example": "RCAPI-INVALID-REQUEST-PAYLOAD"
          },
          "message": {
            "type": "string",
            "description": "Error description",
            "example": "The request payload is invalid"
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error_code": {
            "type": "string",
            "example": "RCAPI-DOMAIN-VIOLATION",
            "description": "Error code ID."
          },
          "message": {
            "type": "string",
            "example": "Internal server error",
            "description": "Error description."
          }
        }
      },
      "SimulationAttachmentResponse": {
        "type": "object",
        "properties": {
          "simulation_config_id": {
            "type": "string",
            "description": "Simulation configuration ID"
          },
          "attachment_type": {
            "type": "string",
            "description": "Attachment Type"
          },
          "program_id": {
            "type": "string",
            "nullable": true,
            "description": "Program ID when attachment_type is PROGRAM"
          },
          "account_id": {
            "type": "string",
            "nullable": true,
            "description": "Account ID when attachment_type is ACCOUNT"
          },
          "org_id": {
            "type": "string",
            "nullable": true,
            "description": "Organization ID when attachment_type is TENANT"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "400BadRequestError": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BadRequestError"
            }
          }
        }
      },
      "401Unauthorized": {
        "description": "InvalidToken",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "500InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/v1/simulation/configs/attachments": {
      "get": {
        "summary": "Get simulation attachments",
        "description": "Retrieve simulation attachment details based on the filters",
        "operationId": "getSimulationAttachments",
        "tags": [
          "Simulation"
        ],
        "parameters": [
          {
            "name": "simulation_config_id",
            "in": "query",
            "description": "Filter by Simulation configuration ID",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attachment_type",
            "in": "query",
            "description": "Filter by attachment type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "PROGRAM",
                "ACCOUNT",
                "TENANT"
              ]
            }
          },
          {
            "name": "program_id",
            "in": "query",
            "description": "Filter by program ID",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "account_id",
            "in": "query",
            "description": "Filter by account ID",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "page number for pagination",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "description": "items per page for pagination",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SimulationAttachmentResponse"
                      }
                    },
                    "pages": {
                      "type": "integer",
                      "format": "int64",
                      "example": 1
                    },
                    "per_page": {
                      "type": "integer",
                      "format": "int64",
                      "example": 10
                    },
                    "total_items": {
                      "type": "integer",
                      "format": "int64",
                      "example": 1
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400BadRequestError"
          },
          "401": {
            "$ref": "#/components/responses/401Unauthorized"
          },
          "500": {
            "$ref": "#/components/responses/500InternalServerError"
          }
        }
      }
    }
  }
}
```