How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Swetrix Annotations API

Manage chart annotations

Swetrix Annotations API is one of 13 APIs that Swetrix publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Annotations. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 3 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.swetrix.com.

4 operations 3 paths 3 schemas 1 DELETE1 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.swetrix.com
Authentication
API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Swetrix Annotations API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Api-Key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key from Swetrix account settings (https://swetrix.com/user-settings)

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 1 DELETE, 1 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Annotations 4

Manage chart annotations

GET
/v1/project/annotations/{pid}
List Annotations
listAnnotations 1 param → 200401
POST
/v1/project/annotation
Create Annotation
createAnnotation body → 201400401
PATCH
/v1/project/annotation
Update Annotation
updateAnnotation body → 200401
DELETE
/v1/project/annotation/{id}/{pid}
Delete Annotation
deleteAnnotation 2 params → 204401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Annotation (4 properties), UpdateAnnotationRequest (4 properties), CreateAnnotationRequest (3 properties). Each schema is shown below with its type and property counts.

UpdateAnnotationRequest
object
4 properties 2 required
CreateAnnotationRequest
object
3 properties 3 required
Annotation
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

swetrix-annotations-api-openapi.yml Raw ↑

Other APIs Swetrix publishes across the network.

Swetrix Events API
Swetrix Custom Events API
Swetrix Errors API
Swetrix Feature Flags API
Swetrix Funnels API
Swetrix Organisations API
Swetrix Performance API
Swetrix Projects API
Swetrix Revenue API
Swetrix Sessions API
Swetrix Traffic API
Swetrix Views API
Where this information came from

This is an independent, third-party profile of Swetrix Annotations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.