Setup Component

List

Retrieve a paginated list of Setup Component records. Supports filtering, sorting, and search.

get/api/cp/setup/component

Query parameters

graph_type'line' | 'area' | 'bar' | 'pie' | 'radar' | 'sankey' | 'gauge'

Filter by Graph Type

Response

Successful response

idinteger

Id

account_idinteger

Account Id

namestring

Name

pathstring

Path

sectionstring

Section

titlestring

Title

subtitlestring

Subtitle

graph_type'line' | 'area' | 'bar' | 'pie' | 'radar' | 'sankey' | 'gauge'

Graph Type

colspaninteger

Colspan

heightinteger

Height

outputstring[]

Output

queriesstring

Queries

graphobject

Graph

scriptforge_idinteger

Scriptforge Id

analytic_idinteger

Analytic Id

pre_processor_scriptstring

Pre Processor Script

Example response

[
  {
    "id": 12345,
    "account_id": 1,
    "name": "Example Name",
    "path": "example_path",
    "section": "example_section",
    "title": "Example Name",
    "subtitle": "example_subtitle",
    "graph_type": "line",
    "colspan": 1,
    "height": 123,
    "output": "graph",
    "queries": "example_queries",
    "graph": "Sample graph text content",
    "scriptforge_id": 1,
    "analytic_id": 1,
    "pre_processor_script": "Sample pre_processor_script text content"
  }
]

Changes