---
title: "Get code segment information"
method: POST
path: "/v1/devboxes/{id}/lsp/get-signature-help"
tags: ["ts-ls"]
---

# Get code segment information

`POST /v1/devboxes/{id}/lsp/get-signature-help`

Get the symbol, reference, and diagnostic information for a given code segment in a file at a given depth

## Path parameters

- `id` string, required

## Request body

- SignatureHelpRequestBody
  - `character` number, double, required
  - `line` number, double, required
  - `uri` string, required

## Response `200`

The symbol information, file URI, references, and diagnostics for the code segment

- SignatureHelpResponse
  - `activeParameter` number, double
  - `activeSignature` number, double
  - `signatures` BaseSignature[], required
    - `documentation` union
      - string
      - BaseMarkupContent
        - `value` string, required
        - `kind` string, required
    - `parameters` BaseParameterInformation[]
      - `documentation` union
        - string
        - BaseMarkupContent
          - `value` string, required
          - `kind` string, required
      - `label` string, required
    - `label` string, required

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/0cb966ca566f/schema)
