DNA Nanobots Tags API

The Tags API from DNA Nanobots, for tags.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /api/tags/{project_id}/activity Api Tag Activity #
POST /api/tags/{project_id}/activity/refresh Api Tag Activity Refresh #
GET /api/tags/{project_id}/spend Api Tag Spend #
GET /api/tags/{project_id}/tasks Api Tag Tasks #
GET /api/tags Api Tags List #
POST /api/tags Api Tags Create #
PATCH /api/tags/{tag_id} Api Tags Patch #
POST /api/tags/{tag_id}/merge-into/{target_id} Api Tags Merge #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dna-nanobots:dna-nanobots-tags-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dna-nanobots-tags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Tags API
  version: 0.1.0
tags:
- name: Tags
paths:
  /api/tags/{project_id}/activity:
    get:
      summary: Api Tag Activity
      description: 'Phase 5a -- what the lab recorded in the ELN for this tag (from the

        15-minute cache), newest first, with links back to the ELN. Follows

        merged tags. `as_of` / `error` say how fresh the cache is.'
      operationId: api_tag_activity_api_tags__project_id__activity_get
      security:
      - HTTPBearer: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
  /api/tags/{project_id}/activity/refresh:
    post:
      summary: Api Tag Activity Refresh
      description: 'The "Refresh" link on the Lab activity card: pull from the ELN now

        instead of waiting for the 15-minute job. At most one pull a minute

        across everyone; inside that minute (or while another pull is running)

        it just returns the cache, with `retry_in` seconds.'
      operationId: api_tag_activity_refresh_api_tags__project_id__activity_refresh_post
      security:
      - HTTPBearer: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
  /api/tags/{project_id}/spend:
    get:
      summary: Api Tag Spend
      description: 'Phase 5b -- spend on this tag from Back Office (15-minute cache).

        Admins and executives only; everyone else gets 403 and the UI hides

        the card. Follows merged tags.'
      operationId: api_tag_spend_api_tags__project_id__spend_get
      security:
      - HTTPBearer: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 90
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
  /api/tags/{project_id}/tasks:
    get:
      summary: Api Tag Tasks
      description: 'Phase 3a — tag (= project) view, filtered by `can_see_task`. Follows

        `labos_project_redirects` so merged tags still resolve.'
      operationId: api_tag_tasks_api_tags__project_id__tasks_get
      security:
      - HTTPBearer: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      - name: include_paths
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Paths
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
  /api/tags:
    get:
      summary: Api Tags List
      operationId: api_tags_list_api_tags_get
      security:
      - HTTPBearer: []
      parameters:
      - name: include_archived
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Archived
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
    post:
      summary: Api Tags Create
      operationId: api_tags_create_api_tags_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
  /api/tags/{tag_id}:
    patch:
      summary: Api Tags Patch
      operationId: api_tags_patch_api_tags__tag_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: tag_id
        in: path
        required: true
        schema:
          type: integer
          title: Tag Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagPatchIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
  /api/tags/{tag_id}/merge-into/{target_id}:
    post:
      summary: Api Tags Merge
      description: 'Phase 3a.2 — move all project-scoped rows from `tag_id` into

        `target_id`, archive the source, and record the redirect. Does NOT

        delete the source — BackOffice / DNA Ops reference projects by id

        (external_ref = ''labos-'').


        Tables moved (kept in sync with migration 007_tag_cleanup.sql):

        * labos_tasks

        * labos_paths

        * labos_recurring_tasks

        * labos_messages

        * labos_attachments

        * labos_project_members (duplicates deleted rather than paired)

        * labos_chat_reads (room_id ''project_'' -> ''project_'';

        drops a per-user duplicate before renaming so unique state is

        preserved)'
      operationId: api_tags_merge_api_tags__tag_id__merge_into__target_id__post
      security:
      - HTTPBearer: []
      parameters:
      - name: tag_id
        in: path
        required: true
        schema:
          type: integer
          title: Tag Id
      - name: target_id
        in: path
        required: true
        schema:
          type: integer
          title: Target Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Tags
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    TagPatchIn:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        code:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
        category:
          anyOf:
          - type: string
          - type: 'null'
          title: Category
        archived:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Archived
      type: object
      title: TagPatchIn
    TagIn:
      properties:
        name:
          type: string
          title: Name
        code:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
        category:
          anyOf:
          - type: string
          - type: 'null'
          title: Category
        visibility:
          anyOf:
          - type: string
          - type: 'null'
          title: Visibility
          default: shared
      type: object
      required:
      - name
      title: TagIn
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer