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 Measurements 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: Measurements
paths:
/api/v1/measurements:
post:
summary: Add measurements
tags:
- Measurements
description: 'This endpoint allows the submission of measurement data from connected equipment to a specific experiment,
It accepts a measurement value and populates it into a designated form input field.
For more information and a detailed example of how to use the ‘Measurement’ endpoint, refer to our article on How to capture data from instruments using the ''measurement'' API endpoint'
parameters: []
responses:
'201':
description: OK
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Unauthorized'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFound'
requestBody:
content:
application/json:
schema:
type: object
required:
- token
properties:
token:
type: string
example: YOUR TOKEN IS HERE
input_name:
type: string
description: The name of the form input field where the value should be positioned
experiment_id:
type: integer
description: The ID of the experiment
item:
type: object
required:
- measurement
- input_name
- experiment_id
properties:
measurement:
type: string
description: The measurement value received from the connected equipment
required: true
operationId: postApiV1Measurements
x-operation-id-source: derived
/api/v1/measurements/{id}:
delete:
summary: Delete measurement
tags:
- Measurements
parameters:
- name: token
in: query
required: true
schema:
type: string
- name: id
in: path
required: true
description: measurement id
schema:
type: integer
responses:
'204':
description: no content
'404':
description: not found
operationId: deleteApiV1MeasurementsById
x-operation-id-source: derived
components:
schemas:
Unauthorized:
type: object
properties:
message:
type: string
example: You are not authorized to perform this action
NotFound:
type: object
properties:
error:
type: string
example: Resource not found