---
updatedAt: 2026-06-09T16:19:20.000Z
agentTools:
  projectIndex: https://docs.smartsurvey.io/llms.txt
---

# Get Details

Gets the detailed information about a single survey, including the folder it is filed in.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SS Public API",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://{host}/v2",
      "description": "Select the host for the region your account's data is stored in.",
      "variables": {
        "host": {
          "default": "api.smartsurvey.io",
          "description": "The regional hostname for your account.",
          "enum": [
            "api.smartsurvey.io",
            "api-eu.smartsurvey.io",
            "api-us.smartsurvey.io"
          ]
        }
      }
    }
  ],
  "paths": {
    "/surveys/{surveyId}/detailed": {
      "get": {
        "tags": [
          "Surveys"
        ],
        "summary": "Get Details",
        "description": "Gets the detailed information about a single survey, including the folder it is filed in.",
        "parameters": [
          {
            "name": "surveyId",
            "in": "path",
            "description": "The survey id of the survey to fetch",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "translation_id",
            "in": "query",
            "description": "The id of the translation you want the details in or 0 for the default",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyDetailedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyDetailedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyDetailedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyDetailedResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyDetailedResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Survey not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when\r\ndereferenced, it provide human-readable documentation for the problem type\r\n(e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be\r\n\"about:blank\".",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence\r\nof the problem, except for purposes of localization(e.g., using proactive content negotiation;\r\nsee[RFC7231], Section 3.4).",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.",
            "nullable": true
          }
        },
        "additionalProperties": {},
        "description": "A machine-readable format for specifying errors in HTTP API responses based on <see href=\"https://tools.ietf.org/html/rfc7807\" />."
      },
      "SmartSurvey.Enums.OptionRandomiseTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SmartSurvey.Enums.PageCompletionActionTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SmartSurvey.Enums.RandomiseTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SmartSurvey.Enums.SurveyPresentationMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SmartSurvey.Enums.TerminalResponseStatusTypes": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SmartSurvey.Public.API.Models.Surveys.PageDetailedResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of this page",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "description": "The title of the page",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "The page description",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "description": "The relative position of this page in the survey",
            "format": "int32"
          },
          "date_created": {
            "type": "string",
            "description": "The date that the page was created",
            "format": "date-time"
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.QuestionModel"
            },
            "description": "A list of questions",
            "nullable": true
          },
          "has_display_logic": {
            "type": "boolean",
            "description": "Whether this page carries a display-logic rule. Response-only and sparse: present (true) only when the\r\npage has display logic, and omitted (null) otherwise — so its absence means \"no display logic\".",
            "nullable": true
          },
          "page_logic": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.PageLogic.PageLogic"
          }
        },
        "additionalProperties": false,
        "description": "A DTO representing page details for survey design"
      },
      "SmartSurvey.Public.API.Models.Surveys.SurveyDetailedResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique survey id",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "description": "The type of survey",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The survey title",
            "nullable": true
          },
          "nickname": {
            "type": "string",
            "description": "An optional nickname which is used to refer to the survey internally",
            "nullable": true
          },
          "date_created": {
            "type": "string",
            "description": "The date the survey was created in UTC",
            "format": "date-time"
          },
          "date_modified": {
            "type": "string",
            "description": "The date the survey was last modified in UTC",
            "format": "date-time"
          },
          "folder_id": {
            "type": "integer",
            "description": "The id of the folder this survey is filed in, or 0 when it is not in a folder. Always 0 for a\r\nsurvey shared with you by another account, because a survey's folder belongs to its owner.",
            "format": "int32"
          },
          "responses": {
            "type": "integer",
            "description": "The number of responses for this survey",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "description": "The status of the survey e.g. open or closed",
            "nullable": true
          },
          "survey_url": {
            "type": "string",
            "description": "The default survey link for this survey",
            "nullable": true
          },
          "href": {
            "type": "string",
            "description": "The API hyperlink to this survey",
            "nullable": true
          },
          "href_responses": {
            "type": "string",
            "description": "The API hyperlink to the responses",
            "nullable": true
          },
          "href_links": {
            "type": "string",
            "description": "The API hyperlink to get all survey tracking links",
            "nullable": true
          },
          "page_count": {
            "type": "integer",
            "description": "The number of pages in this survey",
            "format": "int32"
          },
          "question_count": {
            "type": "integer",
            "description": "The number of questions in this survey",
            "format": "int32"
          },
          "theme_id": {
            "type": "integer",
            "description": "The id of the theme applied to this survey",
            "format": "int32"
          },
          "properties": {
            "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyProperties"
          },
          "date_responses_modified": {
            "type": "string",
            "description": "The date that the number of responses was last updated",
            "format": "date-time",
            "nullable": true
          },
          "variables": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyVariableResponse"
            },
            "description": "Any survey variables set on this survey",
            "nullable": true
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.SurveyTranslationResponse"
            },
            "description": "The list of available translations on this survey",
            "nullable": true
          },
          "pages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Surveys.PageDetailedResponse"
            },
            "description": "The list of pages in this survey",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The most detailed response object for a survey design: NOT a user's response"
      },
      "SmartSurvey.Public.API.Models.Surveys.SurveyProperties": {
        "type": "object",
        "properties": {
          "scoring": {
            "type": "boolean",
            "description": "Whether scoring is enabled for the survey.",
            "nullable": true
          },
          "presentation_mode": {
            "$ref": "#/components/schemas/SmartSurvey.Enums.SurveyPresentationMode"
          }
        },
        "additionalProperties": false,
        "description": "Survey-level settings. Each field is optional — on a request, omit a field to leave that setting unchanged."
      },
      "SmartSurvey.Public.API.Models.Surveys.SurveyTranslationResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique if for this translation",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The name of this translation",
            "nullable": true
          },
          "language_id": {
            "type": "integer",
            "description": "The id of the language this translation is in",
            "format": "int32"
          },
          "default": {
            "type": "boolean",
            "description": "True when this is the survey's default translation; omitted otherwise",
            "nullable": true
          },
          "date_created": {
            "type": "string",
            "description": "The date/time this translation was created",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "A DTO representing a translation available on this survey"
      },
      "SmartSurvey.Public.API.Models.Surveys.SurveyVariableResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique id of the variable",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "description": "The variable name as passed into the survey url",
            "nullable": true
          },
          "label": {
            "type": "string",
            "description": "The display label of the variable",
            "nullable": true
          },
          "date_created": {
            "type": "string",
            "description": "The date/time that this variable was created",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "description": "A DTO for a survey variable details"
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.CarryForward": {
        "type": "object",
        "properties": {
          "source_question_id": {
            "type": "integer",
            "format": "int32"
          },
          "mode": {
            "type": "string",
            "nullable": true
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.ChoiceCarryForward": {
        "type": "object",
        "properties": {
          "source_choice_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "display": {
            "type": "string",
            "nullable": true
          },
          "is_other": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.ChoiceImage": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "alt_text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.ChoiceOrdering": {
        "type": "object",
        "properties": {
          "order": {
            "$ref": "#/components/schemas/SmartSurvey.Enums.OptionRandomiseTypes"
          },
          "last_choice_static": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.ChoiceProperties": {
        "type": "object",
        "properties": {
          "required": {
            "type": "boolean"
          },
          "hide_option": {
            "type": "boolean"
          },
          "score_value": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "none_of_the_above": {
            "type": "boolean",
            "nullable": true
          },
          "lines": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "width": {
            "type": "string",
            "nullable": true
          },
          "format": {
            "type": "string",
            "nullable": true
          },
          "group_required": {
            "type": "boolean",
            "nullable": true
          },
          "max_per_row": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "text_box_width": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "required_message": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "validation_message": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.QuestionChoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "group_ref": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "properties": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.ChoiceProperties"
          },
          "image": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.ChoiceImage"
          },
          "carry_forward": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.ChoiceCarryForward"
          },
          "has_display_logic": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.QuestionConfig": {
        "type": "object",
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.QuestionModel": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "type": {
            "minLength": 1,
            "type": "string"
          },
          "sub_type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "maxLength": 4000,
            "type": "string",
            "nullable": true
          },
          "raw_title": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "date_created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "date_modified_utc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "properties": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.QuestionProperties"
          },
          "choices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.QuestionChoice"
            },
            "nullable": true
          },
          "choice_ordering": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.ChoiceOrdering"
          },
          "config": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.QuestionConfig"
          },
          "carry_forward": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.Models.CarryForward"
          },
          "has_display_logic": {
            "type": "boolean",
            "nullable": true
          },
          "skip_logic_count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.Models.QuestionProperties": {
        "type": "object",
        "properties": {
          "required": {
            "type": "boolean"
          },
          "hide_question": {
            "type": "boolean"
          },
          "skip_numbering": {
            "type": "boolean"
          },
          "css_class": {
            "type": "string",
            "nullable": true
          },
          "required_message": {
            "maxLength": 1000,
            "type": "string",
            "nullable": true
          },
          "validation_message": {
            "maxLength": 1000,
            "type": "string",
            "nullable": true
          },
          "default_answer": {
            "maxLength": 1000,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.PageLogic.CompletionAction": {
        "type": "object",
        "properties": {
          "action": {
            "$ref": "#/components/schemas/SmartSurvey.Enums.PageCompletionActionTypes"
          },
          "destination_page_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.PageLogic.PageLogic": {
        "type": "object",
        "properties": {
          "completion_action": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.PageLogic.CompletionAction"
          },
          "terminal": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.PageLogic.TerminalAction"
          },
          "question_randomisation": {
            "$ref": "#/components/schemas/SmartSurvey.Shared.SurveyBuilder.PageLogic.QuestionRandomisation"
          },
          "is_empty": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.PageLogic.QuestionRandomisation": {
        "type": "object",
        "properties": {
          "randomisation": {
            "$ref": "#/components/schemas/SmartSurvey.Enums.RandomiseTypes"
          },
          "number_questions_to_display": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "questions": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.SurveyBuilder.PageLogic.TerminalAction": {
        "type": "object",
        "properties": {
          "thank_you": {
            "type": "boolean"
          },
          "response_status": {
            "$ref": "#/components/schemas/SmartSurvey.Enums.TerminalResponseStatusTypes"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Basic Authorization",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "Basic": []
    }
  ]
}
```