> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/analytics-api/products/dashboards/api-reference.md). Agents can also search and read this documentation through its [MCP server](https://navixy.com/docs/~gitbook/mcp).

# Dashboards API reference

Dashboards API reference: the operations that list the dashboards and periods and get dashboard data, and their response models.

This page is the complete reference of the Dashboards API: every operation with its request and responses, then the response models.

The base address is `https://dashboards.<REGION>.navixy.com/api`, where `<REGION>` is `eu` or `us`. Every request needs an access token, as [Authentication](https://navixy.com/docs/analytics-api/authentication.md) describes.

## API actions

## List dashboards and periods

> Returns the current time in your time zone and the dashboards that the token may read, each with the IDs of its periods. Call it first: the dashboard codes and the period IDs are the values that Get dashboard data accepts. It reads no panel data, so it doesn't count toward the daily limit of dashboard reads.

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"tags":[{"name":"Dashboards and periods","description":"The current time and the dashboards that the token may read, with their periods."}],"servers":[{"url":"https://dashboards.{region}.navixy.com/api","description":"Navixy production server of your region","variables":{"region":{"default":"eu","enum":["eu","us"],"description":"The region of your organization: `eu` for the European Union, `us` for the United States."}}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"The access token that your app gets by exchanging a Navixy API key. It's the same token that Navixy GraphQL API accepts."}},"schemas":{"DashboardListRequest":{"type":"object","required":["timeZone"],"additionalProperties":false,"properties":{"timeZone":{"$ref":"#/components/schemas/TimeZone"}}},"TimeZone":{"type":"string","description":"Your time zone, as an IANA time zone name such as `Europe/Madrid`. The response writes every time in it. `UTC` is accepted, and its times end in `Z`. Fixed offsets such as `+01:00`, `UTC+2`, or `Etc/GMT+2` aren't, because they don't follow daylight saving time."},"DashboardList":{"type":"object","description":"The current time and the dashboards that the token may read, with their periods.","required":["now","timeZone","dashboards"],"properties":{"now":{"type":"string","description":"The current time in `timeZone`, as RFC 3339 text with the offset, to the second. In `UTC`, it ends in `Z`."},"timeZone":{"type":"string","description":"The time zone of the request."},"dashboards":{"type":"array","description":"The dashboards that the token may read, in the order of the tabs in Navixy Dashboards. Empty when the role grants none.","items":{"$ref":"#/components/schemas/DashboardPeriods"}}}},"DashboardPeriods":{"type":"object","description":"A dashboard that the token may read, with the IDs of its periods.","required":["code","name","ranges"],"properties":{"code":{"type":"string","description":"The dashboard's code, the `dashboard` value of Get dashboard data: `live_status`, `trips`, or `conditions`."},"name":{"type":"string","description":"The dashboard's name, in English."},"ranges":{"type":"array","description":"The IDs of the dashboard's periods, the `range` values of Get dashboard data. Empty on Live status, which has no periods.","items":{"type":"string"}}}},"Error":{"type":"object","description":"The body of every error response except 401 and 406.","required":["code","message"],"properties":{"code":{"type":"string","description":"What went wrong. Check this value in your app.","enum":["invalid_tool_call","bad_request","product_not_enabled","insufficient_rights","roles_unresolved","token_incomplete","not_found","method_not_allowed","unsupported_media_type","tool_rate_limited","internal_error","tool_unavailable"]},"message":{"type":"string","description":"What went wrong, in English, for a person to read. Don't check it in code, because it can change."},"details":{"type":"object","description":"More about the error. On `invalid_tool_call`, each wrong field and what it must be. On `token_incomplete`, the missing or invalid token claim, in `claim`. Absent on the other codes.","additionalProperties":{"type":"string"}}}}},"responses":{"Unauthorized":{"description":"The request has no token, or the token is invalid or expired. The response has no body. Exchange the API key again and repeat the request with the new token.","headers":{"WWW-Authenticate":{"description":"Starts with the word `Bearer`.","schema":{"type":"string"}}}},"Forbidden":{"description":"The token is valid, but the request is refused. `code` says why: `product_not_enabled` when the workspace or the token's role doesn't include Dashboards, `insufficient_rights` when the role doesn't grant the `dashboards-standard` feature, `roles_unresolved` when Navixy couldn't read the roles, and `token_incomplete` when the token's organization, workspace, or API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"UnsupportedMediaType":{"description":"The body isn't sent as JSON. Send it with `Content-Type: application/json`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"The request failed in Navixy. Retry it later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/tools/context":{"post":{"tags":["Dashboards and periods"],"summary":"List dashboards and periods","operationId":"dashboardsList","description":"Returns the current time in your time zone and the dashboards that the token may read, each with the IDs of its periods. Call it first: the dashboard codes and the period IDs are the values that Get dashboard data accepts. It reads no panel data, so it doesn't count toward the daily limit of dashboard reads.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardListRequest"}}}},"responses":{"200":{"description":"The current time and the dashboards that the token may read.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardList"}}}},"400":{"description":"The body can't be accepted. `invalid_tool_call` names the wrong fields in `details`: a missing or invalid `timeZone`, a body that isn't a JSON object, or a field that the operation doesn't accept. A body that isn't JSON at all returns `bad_request`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"500":{"$ref":"#/components/responses/InternalError"}}}}}}
```

## Get dashboard data

> Returns the dashboard data: what every panel of one dashboard shows for a period. Values are in the units of the data, such as kilometers and hours, and times are in your time zone. A table returns 50 rows at most, and a line chart returns a summary of each line and up to 48 points. A panel that the dashboard data doesn't include, or whose data couldn't be read, has an \`unavailable\` text instead of data.\
> \
> Each request counts toward a limit of about 250 dashboard reads for each API key in a workspace in 24 hours, from the moment that Navixy accepts it, whatever happens next.

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"tags":[{"name":"Dashboard data","description":"What every panel of one dashboard shows for a period."}],"servers":[{"url":"https://dashboards.{region}.navixy.com/api","description":"Navixy production server of your region","variables":{"region":{"default":"eu","enum":["eu","us"],"description":"The region of your organization: `eu` for the European Union, `us` for the United States."}}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"The access token that your app gets by exchanging a Navixy API key. It's the same token that Navixy GraphQL API accepts."}},"schemas":{"DashboardDataRequest":{"type":"object","required":["timeZone","dashboard"],"additionalProperties":false,"properties":{"timeZone":{"$ref":"#/components/schemas/TimeZone"},"dashboard":{"type":"string","description":"The code of a dashboard from the `dashboards` list of List dashboards and periods."},"range":{"type":"string","description":"The ID of one of the dashboard's periods, such as `7d` for the last 7 days. Required on Trips and Conditions. Leave it out on Live status, which has no periods."},"previous":{"type":"boolean","description":"`true` reads the period of the same length right before the period in `range`, to compare 2 periods. Only with `range`. Default `false`."}}},"TimeZone":{"type":"string","description":"Your time zone, as an IANA time zone name such as `Europe/Madrid`. The response writes every time in it. `UTC` is accepted, and its times end in `Z`. Fixed offsets such as `+01:00`, `UTC+2`, or `Etc/GMT+2` aren't, because they don't follow daylight saving time."},"DashboardData":{"type":"object","description":"What every panel of one dashboard shows for a period.","required":["dashboard","name","range","previous","from","to","panels"],"properties":{"dashboard":{"type":"string","description":"The dashboard's code."},"name":{"type":"string","description":"The dashboard's name."},"range":{"type":["string","null"],"description":"The period's ID. `null` on Live status."},"previous":{"type":"boolean","description":"`true` when the data covers the period before `range`."},"from":{"type":["string","null"],"description":"The start of the period, in the request's time zone, as RFC 3339 text with the offset. `null` on Live status."},"to":{"type":["string","null"],"description":"The end of the period, in the same form. `null` on Live status."},"panels":{"type":"array","description":"Every panel of the dashboard, in the order of its definition.","items":{"$ref":"#/components/schemas/Panel"}}}},"Panel":{"type":"object","description":"What one panel shows. A panel with data has `fields`, and then `rows` or, for a line chart, `series`. A panel without data has `unavailable` instead.","required":["id","type","title"],"properties":{"id":{"type":"integer","description":"The panel's ID, unique in its dashboard."},"type":{"type":"string","description":"How Navixy Dashboards draws the panel: `kpi`, `piechart`, `barchart`, `linechart`, `table`, or `map`. Treat it as text, because a later version can add types."},"title":{"type":"string","description":"The panel's title."},"description":{"type":"string","description":"What the panel shows and how Navixy calculates it. Absent when the panel has none or has no data."},"fields":{"type":"array","description":"The values of each row or line, with their units.","items":{"$ref":"#/components/schemas/PanelField"}},"rows":{"type":"array","description":"The rows, 50 at most. Each row has one value for each of `fields`: a number in the field's unit, text, or `null`.","items":{"type":"object","additionalProperties":{"type":["number","string","null"]}}},"rowsLeftOut":{"type":"integer","description":"How many rows after the first 50 the dashboard data leaves out. A table reads 1,000 rows at most, so this is 950 at most. Absent when it leaves out none."},"series":{"type":"array","description":"For a line chart, one item for each line.","items":{"$ref":"#/components/schemas/Series"}},"unavailable":{"type":"string","description":"Why the panel has no data here: the dashboard data doesn't include the panel, the panel has no data source, or its data couldn't be read."}}},"PanelField":{"type":"object","description":"A value of a panel's rows or lines, with its unit.","required":["key"],"properties":{"key":{"type":"string","description":"The key of the value in each row or line."},"label":{"type":"string","description":"The name of the value in Navixy Dashboards. Absent when the panel shows no name for it."},"unit":{"type":"string","description":"The unit of the value. Absent for text, times, counts, and plain numbers.","enum":["km","h","km/h","V","%","m","°"]}}},"Series":{"type":"object","description":"One line of a line chart. The key of the panel's first text field, such as `asset`, has the name of the line, and is absent on a chart with one line. `points` is the number of points that the line has, and `times` gives the time of each point in `values`. Each value field has a `ValueSummary`.","required":["points"],"properties":{"points":{"type":"integer","description":"How many rows the line has in the period."},"times":{"type":"array","description":"The time of each point, in the request's time zone. 48 at most: over a long period, each point is the average of a part of the period, at the start of the part. A line has a point only where it has data, so 2 lines can have `times` of different lengths. Match the points of 2 lines by their time, not by position.","items":{"type":["string","null"]}}},"additionalProperties":{"anyOf":[{"type":["string","null"]},{"$ref":"#/components/schemas/ValueSummary"}]}},"ValueSummary":{"type":["object","null"],"description":"One value of a line, in its field's unit. `null` when the line has no point with this value.","properties":{"first":{"type":"number","description":"The first value in the period."},"last":{"type":"number","description":"The last value in the period."},"min":{"type":"number","description":"The lowest value."},"max":{"type":"number","description":"The highest value."},"mean":{"type":"number","description":"The average of all the rows, rounded to the decimals of the unit, and to 2 decimals at most."},"values":{"type":"array","description":"The value at each of `times`. `null` where the line has data at that time but no value for this field.","items":{"type":["number","null"]}}}},"Error":{"type":"object","description":"The body of every error response except 401 and 406.","required":["code","message"],"properties":{"code":{"type":"string","description":"What went wrong. Check this value in your app.","enum":["invalid_tool_call","bad_request","product_not_enabled","insufficient_rights","roles_unresolved","token_incomplete","not_found","method_not_allowed","unsupported_media_type","tool_rate_limited","internal_error","tool_unavailable"]},"message":{"type":"string","description":"What went wrong, in English, for a person to read. Don't check it in code, because it can change."},"details":{"type":"object","description":"More about the error. On `invalid_tool_call`, each wrong field and what it must be. On `token_incomplete`, the missing or invalid token claim, in `claim`. Absent on the other codes.","additionalProperties":{"type":"string"}}}}},"responses":{"Unauthorized":{"description":"The request has no token, or the token is invalid or expired. The response has no body. Exchange the API key again and repeat the request with the new token.","headers":{"WWW-Authenticate":{"description":"Starts with the word `Bearer`.","schema":{"type":"string"}}}},"Forbidden":{"description":"The token is valid, but the request is refused. `code` says why: `product_not_enabled` when the workspace or the token's role doesn't include Dashboards, `insufficient_rights` when the role doesn't grant the `dashboards-standard` feature, `roles_unresolved` when Navixy couldn't read the roles, and `token_incomplete` when the token's organization, workspace, or API key is missing or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"UnsupportedMediaType":{"description":"The body isn't sent as JSON. Send it with `Content-Type: application/json`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InternalError":{"description":"The request failed in Navixy. Retry it later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/tools/read_dashboard":{"post":{"tags":["Dashboard data"],"summary":"Get dashboard data","operationId":"dashboardDataRead","description":"Returns the dashboard data: what every panel of one dashboard shows for a period. Values are in the units of the data, such as kilometers and hours, and times are in your time zone. A table returns 50 rows at most, and a line chart returns a summary of each line and up to 48 points. A panel that the dashboard data doesn't include, or whose data couldn't be read, has an `unavailable` text instead of data.\n\nEach request counts toward a limit of about 250 dashboard reads for each API key in a workspace in 24 hours, from the moment that Navixy accepts it, whatever happens next.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardDataRequest"}}}},"responses":{"200":{"description":"The dashboard data. The example is Live status in a workspace without assets, shortened to 4 panels.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardData"}}}},"400":{"description":"The body can't be accepted. `invalid_tool_call` names the wrong fields in `details`: `timeZone`, a `dashboard` that the token can't read, a `range` that the dashboard doesn't have, a `previous` that isn't `true` or `false`, or a field that the operation doesn't accept. A wrong `timeZone` is reported alone, before the other fields are checked. A body that isn't JSON at all returns `bad_request`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"description":"The API key has read about 250 dashboards in this workspace in the last 24 hours. Nothing was read. Retry when the oldest of those reads is more than 24 hours old.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"The dashboard can't be read now: Navixy is reading as many dashboards as it can at once, or the read took too long. A refusal because Navixy is busy doesn't count toward the daily limit, and a read that took too long does. A slow read can also end with an HTTP 5xx error without a JSON body, and can still run on the server for a while. Retry any 5xx response after some seconds, and wait longer after each failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}
```

## Response models

## The DashboardList object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"DashboardList":{"type":"object","description":"The current time and the dashboards that the token may read, with their periods.","required":["now","timeZone","dashboards"],"properties":{"now":{"type":"string","description":"The current time in `timeZone`, as RFC 3339 text with the offset, to the second. In `UTC`, it ends in `Z`."},"timeZone":{"type":"string","description":"The time zone of the request."},"dashboards":{"type":"array","description":"The dashboards that the token may read, in the order of the tabs in Navixy Dashboards. Empty when the role grants none.","items":{"$ref":"#/components/schemas/DashboardPeriods"}}}},"DashboardPeriods":{"type":"object","description":"A dashboard that the token may read, with the IDs of its periods.","required":["code","name","ranges"],"properties":{"code":{"type":"string","description":"The dashboard's code, the `dashboard` value of Get dashboard data: `live_status`, `trips`, or `conditions`."},"name":{"type":"string","description":"The dashboard's name, in English."},"ranges":{"type":"array","description":"The IDs of the dashboard's periods, the `range` values of Get dashboard data. Empty on Live status, which has no periods.","items":{"type":"string"}}}}}}}
```

## The DashboardPeriods object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"DashboardPeriods":{"type":"object","description":"A dashboard that the token may read, with the IDs of its periods.","required":["code","name","ranges"],"properties":{"code":{"type":"string","description":"The dashboard's code, the `dashboard` value of Get dashboard data: `live_status`, `trips`, or `conditions`."},"name":{"type":"string","description":"The dashboard's name, in English."},"ranges":{"type":"array","description":"The IDs of the dashboard's periods, the `range` values of Get dashboard data. Empty on Live status, which has no periods.","items":{"type":"string"}}}}}}}
```

## The DashboardData object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"DashboardData":{"type":"object","description":"What every panel of one dashboard shows for a period.","required":["dashboard","name","range","previous","from","to","panels"],"properties":{"dashboard":{"type":"string","description":"The dashboard's code."},"name":{"type":"string","description":"The dashboard's name."},"range":{"type":["string","null"],"description":"The period's ID. `null` on Live status."},"previous":{"type":"boolean","description":"`true` when the data covers the period before `range`."},"from":{"type":["string","null"],"description":"The start of the period, in the request's time zone, as RFC 3339 text with the offset. `null` on Live status."},"to":{"type":["string","null"],"description":"The end of the period, in the same form. `null` on Live status."},"panels":{"type":"array","description":"Every panel of the dashboard, in the order of its definition.","items":{"$ref":"#/components/schemas/Panel"}}}},"Panel":{"type":"object","description":"What one panel shows. A panel with data has `fields`, and then `rows` or, for a line chart, `series`. A panel without data has `unavailable` instead.","required":["id","type","title"],"properties":{"id":{"type":"integer","description":"The panel's ID, unique in its dashboard."},"type":{"type":"string","description":"How Navixy Dashboards draws the panel: `kpi`, `piechart`, `barchart`, `linechart`, `table`, or `map`. Treat it as text, because a later version can add types."},"title":{"type":"string","description":"The panel's title."},"description":{"type":"string","description":"What the panel shows and how Navixy calculates it. Absent when the panel has none or has no data."},"fields":{"type":"array","description":"The values of each row or line, with their units.","items":{"$ref":"#/components/schemas/PanelField"}},"rows":{"type":"array","description":"The rows, 50 at most. Each row has one value for each of `fields`: a number in the field's unit, text, or `null`.","items":{"type":"object","additionalProperties":{"type":["number","string","null"]}}},"rowsLeftOut":{"type":"integer","description":"How many rows after the first 50 the dashboard data leaves out. A table reads 1,000 rows at most, so this is 950 at most. Absent when it leaves out none."},"series":{"type":"array","description":"For a line chart, one item for each line.","items":{"$ref":"#/components/schemas/Series"}},"unavailable":{"type":"string","description":"Why the panel has no data here: the dashboard data doesn't include the panel, the panel has no data source, or its data couldn't be read."}}},"PanelField":{"type":"object","description":"A value of a panel's rows or lines, with its unit.","required":["key"],"properties":{"key":{"type":"string","description":"The key of the value in each row or line."},"label":{"type":"string","description":"The name of the value in Navixy Dashboards. Absent when the panel shows no name for it."},"unit":{"type":"string","description":"The unit of the value. Absent for text, times, counts, and plain numbers.","enum":["km","h","km/h","V","%","m","°"]}}},"Series":{"type":"object","description":"One line of a line chart. The key of the panel's first text field, such as `asset`, has the name of the line, and is absent on a chart with one line. `points` is the number of points that the line has, and `times` gives the time of each point in `values`. Each value field has a `ValueSummary`.","required":["points"],"properties":{"points":{"type":"integer","description":"How many rows the line has in the period."},"times":{"type":"array","description":"The time of each point, in the request's time zone. 48 at most: over a long period, each point is the average of a part of the period, at the start of the part. A line has a point only where it has data, so 2 lines can have `times` of different lengths. Match the points of 2 lines by their time, not by position.","items":{"type":["string","null"]}}},"additionalProperties":{"anyOf":[{"type":["string","null"]},{"$ref":"#/components/schemas/ValueSummary"}]}},"ValueSummary":{"type":["object","null"],"description":"One value of a line, in its field's unit. `null` when the line has no point with this value.","properties":{"first":{"type":"number","description":"The first value in the period."},"last":{"type":"number","description":"The last value in the period."},"min":{"type":"number","description":"The lowest value."},"max":{"type":"number","description":"The highest value."},"mean":{"type":"number","description":"The average of all the rows, rounded to the decimals of the unit, and to 2 decimals at most."},"values":{"type":"array","description":"The value at each of `times`. `null` where the line has data at that time but no value for this field.","items":{"type":["number","null"]}}}}}}}
```

## The Panel object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"Panel":{"type":"object","description":"What one panel shows. A panel with data has `fields`, and then `rows` or, for a line chart, `series`. A panel without data has `unavailable` instead.","required":["id","type","title"],"properties":{"id":{"type":"integer","description":"The panel's ID, unique in its dashboard."},"type":{"type":"string","description":"How Navixy Dashboards draws the panel: `kpi`, `piechart`, `barchart`, `linechart`, `table`, or `map`. Treat it as text, because a later version can add types."},"title":{"type":"string","description":"The panel's title."},"description":{"type":"string","description":"What the panel shows and how Navixy calculates it. Absent when the panel has none or has no data."},"fields":{"type":"array","description":"The values of each row or line, with their units.","items":{"$ref":"#/components/schemas/PanelField"}},"rows":{"type":"array","description":"The rows, 50 at most. Each row has one value for each of `fields`: a number in the field's unit, text, or `null`.","items":{"type":"object","additionalProperties":{"type":["number","string","null"]}}},"rowsLeftOut":{"type":"integer","description":"How many rows after the first 50 the dashboard data leaves out. A table reads 1,000 rows at most, so this is 950 at most. Absent when it leaves out none."},"series":{"type":"array","description":"For a line chart, one item for each line.","items":{"$ref":"#/components/schemas/Series"}},"unavailable":{"type":"string","description":"Why the panel has no data here: the dashboard data doesn't include the panel, the panel has no data source, or its data couldn't be read."}}},"PanelField":{"type":"object","description":"A value of a panel's rows or lines, with its unit.","required":["key"],"properties":{"key":{"type":"string","description":"The key of the value in each row or line."},"label":{"type":"string","description":"The name of the value in Navixy Dashboards. Absent when the panel shows no name for it."},"unit":{"type":"string","description":"The unit of the value. Absent for text, times, counts, and plain numbers.","enum":["km","h","km/h","V","%","m","°"]}}},"Series":{"type":"object","description":"One line of a line chart. The key of the panel's first text field, such as `asset`, has the name of the line, and is absent on a chart with one line. `points` is the number of points that the line has, and `times` gives the time of each point in `values`. Each value field has a `ValueSummary`.","required":["points"],"properties":{"points":{"type":"integer","description":"How many rows the line has in the period."},"times":{"type":"array","description":"The time of each point, in the request's time zone. 48 at most: over a long period, each point is the average of a part of the period, at the start of the part. A line has a point only where it has data, so 2 lines can have `times` of different lengths. Match the points of 2 lines by their time, not by position.","items":{"type":["string","null"]}}},"additionalProperties":{"anyOf":[{"type":["string","null"]},{"$ref":"#/components/schemas/ValueSummary"}]}},"ValueSummary":{"type":["object","null"],"description":"One value of a line, in its field's unit. `null` when the line has no point with this value.","properties":{"first":{"type":"number","description":"The first value in the period."},"last":{"type":"number","description":"The last value in the period."},"min":{"type":"number","description":"The lowest value."},"max":{"type":"number","description":"The highest value."},"mean":{"type":"number","description":"The average of all the rows, rounded to the decimals of the unit, and to 2 decimals at most."},"values":{"type":"array","description":"The value at each of `times`. `null` where the line has data at that time but no value for this field.","items":{"type":["number","null"]}}}}}}}
```

## The PanelField object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"PanelField":{"type":"object","description":"A value of a panel's rows or lines, with its unit.","required":["key"],"properties":{"key":{"type":"string","description":"The key of the value in each row or line."},"label":{"type":"string","description":"The name of the value in Navixy Dashboards. Absent when the panel shows no name for it."},"unit":{"type":"string","description":"The unit of the value. Absent for text, times, counts, and plain numbers.","enum":["km","h","km/h","V","%","m","°"]}}}}}}
```

## The Series object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"Series":{"type":"object","description":"One line of a line chart. The key of the panel's first text field, such as `asset`, has the name of the line, and is absent on a chart with one line. `points` is the number of points that the line has, and `times` gives the time of each point in `values`. Each value field has a `ValueSummary`.","required":["points"],"properties":{"points":{"type":"integer","description":"How many rows the line has in the period."},"times":{"type":"array","description":"The time of each point, in the request's time zone. 48 at most: over a long period, each point is the average of a part of the period, at the start of the part. A line has a point only where it has data, so 2 lines can have `times` of different lengths. Match the points of 2 lines by their time, not by position.","items":{"type":["string","null"]}}},"additionalProperties":{"anyOf":[{"type":["string","null"]},{"$ref":"#/components/schemas/ValueSummary"}]}},"ValueSummary":{"type":["object","null"],"description":"One value of a line, in its field's unit. `null` when the line has no point with this value.","properties":{"first":{"type":"number","description":"The first value in the period."},"last":{"type":"number","description":"The last value in the period."},"min":{"type":"number","description":"The lowest value."},"max":{"type":"number","description":"The highest value."},"mean":{"type":"number","description":"The average of all the rows, rounded to the decimals of the unit, and to 2 decimals at most."},"values":{"type":"array","description":"The value at each of `times`. `null` where the line has data at that time but no value for this field.","items":{"type":["number","null"]}}}}}}}
```

## The ValueSummary object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"ValueSummary":{"type":["object","null"],"description":"One value of a line, in its field's unit. `null` when the line has no point with this value.","properties":{"first":{"type":"number","description":"The first value in the period."},"last":{"type":"number","description":"The last value in the period."},"min":{"type":"number","description":"The lowest value."},"max":{"type":"number","description":"The highest value."},"mean":{"type":"number","description":"The average of all the rows, rounded to the decimals of the unit, and to 2 decimals at most."},"values":{"type":"array","description":"The value at each of `times`. `null` where the line has data at that time but no value for this field.","items":{"type":["number","null"]}}}}}}}
```

## The Error object

```json
{"openapi":"3.1.0","info":{"title":"Navixy Dashboards API","version":"1.0.0"},"components":{"schemas":{"Error":{"type":"object","description":"The body of every error response except 401 and 406.","required":["code","message"],"properties":{"code":{"type":"string","description":"What went wrong. Check this value in your app.","enum":["invalid_tool_call","bad_request","product_not_enabled","insufficient_rights","roles_unresolved","token_incomplete","not_found","method_not_allowed","unsupported_media_type","tool_rate_limited","internal_error","tool_unavailable"]},"message":{"type":"string","description":"What went wrong, in English, for a person to read. Don't check it in code, because it can change."},"details":{"type":"object","description":"More about the error. On `invalid_tool_call`, each wrong field and what it must be. On `token_incomplete`, the missing or invalid token claim, in `claim`. Absent on the other codes.","additionalProperties":{"type":"string"}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://navixy.com/docs/analytics-api/products/dashboards/api-reference.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
