Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Labguru Visualizations API
description: 'Labguru API is a JSON / REST based API, get started by reviewing the documentation below or code samples.
Join our dedicated Slack channel
to be in direct contact with our API team and be informed about the latest updates.
***API introduction and overview***'
version: v1
tags:
- name: Visualizations
paths:
/api/v1/visualizations:
post:
summary: add visualization
tags:
- Visualizations
description: 'This endpoint creates a visualization.
To add visualization to a dataset, provide a name, the dataset ID it corresponds to, and an attachment ID (the ID of the visualization file uploaded to Labguru).
Once added, the visualization will appear under the ''Visualizations'' tab of a dataset.
For a detailed guide on creating dataset visualizations, including a step-by-step process and practical examples, refer to our comprehensive article: How To Create Dataset Visualization.'
parameters: []
responses:
'201':
description: Created
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Unauthorized'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/addVisualization'
required: true
operationId: postApiV1Visualizations
x-operation-id-source: derived
/api/v1/visualizations/{id}:
delete:
summary: Delete visualization
tags:
- Visualizations
description: This endpoint deletes a visualization.
parameters:
- name: token
in: query
required: true
schema:
type: string
- name: id
in: path
required: true
description: The ID of the visualization
schema:
type: integer
responses:
'204':
description: No Content
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Unauthorized'
operationId: deleteApiV1VisualizationsById
x-operation-id-source: derived
components:
schemas:
Unauthorized:
type: object
properties:
message:
type: string
example: You are not authorized to perform this action
addVisualization:
type: object
required:
- token
properties:
token:
type: string
example: YOUR TOKEN IS HERE
item:
type: object
required:
- name
- dataset_id
- attachment_id
properties:
name:
type: string
description: The name of the visualization
dataset_id:
type: integer
description: The ID of the dataset to which the visualization will be linked to
attachment_id:
type: integer
description: The ID of the attachment (image) that will appear under the 'Visualization' tab of the dataset