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 Tags 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: Tags
paths:
/api/v1/tags:
post:
summary: Add tag
tags:
- Tags
parameters: []
responses:
'201':
description: tag created
'404':
description: invalid request - Item not found
'401':
description: 'Error: Unauthorized'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/createTag'
required: true
operationId: postApiV1Tags
x-operation-id-source: derived
delete:
summary: Remove tag labels from an item
tags:
- Tags
description: Removes one or more tag labels from a single item. This does not delete the tag record itself - use DELETE /api/v1/tags/{id} for that. The tag field accepts a comma-separated string to remove multiple labels at once.
parameters:
- name: token
in: query
required: true
schema:
type: string
responses:
'201':
description: success
'404':
description: item not found
'422':
description: invalid item type
requestBody:
content:
application/json:
schema:
type: object
required:
- item
properties:
item:
type: object
required:
- class_name
- item_id
- tag
properties:
class_name:
type: string
description: The class name of the item to remove the tag from (e.g. Projects::Experiment)
item_id:
type: integer
description: The ID of the item to remove the tag from
tag:
type: string
description: Tag label(s) to remove. Comma-separated for multiple labels (e.g. "draft,wip")
required: true
operationId: deleteApiV1Tags
x-operation-id-source: derived
/api/v1/tags/{id}:
delete:
summary: Delete tag
tags:
- Tags
parameters:
- name: token
in: query
required: true
schema:
type: string
- name: id
in: path
required: true
description: tag id
schema:
type: integer
responses:
'201':
description: success
'404':
description: not found
operationId: deleteApiV1TagsById
x-operation-id-source: derived
components:
schemas:
createTag:
type: object
required:
- token
properties:
token:
type: string
example: YOUR TOKEN IS HERE
item:
type: object
required:
- tag
- class_name
- item_id
properties:
tag:
type: string
description: 'the tag name '
class_name:
type: string
description: the item type to tag
example: Biocollections::Antibody
item_id:
type: string
description: The ID of the item to tag