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

Samsara Defects API

The Defects API from Samsara — 2 operation(s) for defects.

Samsara Defects API is one of 90 APIs that Samsara publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Defects. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.

This API exposes 2 operations across 2 paths, and defines 10 schemas. It is described by OpenAPI 3.0.1, at version 2024-11-18.

Requests are made against 2 base URLs: https://api.samsara.com/, https://api.eu.samsara.com/.

2 operations 2 paths 10 schemas 1 GET1 PATCH

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2024-11-18
Base URL
https://api.samsara.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Samsara Defects API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (AccessTokenHeader). By default, every request must be authenticated.

Paths & Operations 2

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

Defects 2
GET
/fleet/defects/history
Get All Defects
getDvirDefects 5 params → 200default
PATCH
/fleet/defects/{id}
Update a Defect
updateDvirDefect 1 param body → 200default

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Defect (11 properties), DefectPatch (4 properties), vehicleTinyResponse (3 properties), Defect_resolvedBy (3 properties). Each schema is shown below with its type and property counts.

trailerTinyResponse
object
A minified trailer object.
2 properties
DefectsResponse
object
A list of defects.
2 properties
DefectResponse
object
A single defect.
1 property
vehicleTinyResponse
object
A minified vehicle object.
3 properties
DefectPatch
object
Information about resolving a defect. If resolving a defect, must specify isResolved as true and resolvedBy.
4 properties
Defect
object
11 properties 2 required
ResolvedBy
object
Information about the user who is resolving a defect.
2 properties 2 required
Defect_resolvedBy
object
The person who resolved this defect. Will not be returned if the defect is unresolved.
3 properties
standardErrorResponse
object
Error response
2 properties
paginationResponse
object
Pagination parameters.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

samsara-defects-api-openapi.yml Raw ↑

Other APIs Samsara publishes across the network.

Samsara Activity API
Samsara Addresses API
Samsara Aemp API
Samsara Applications API
Samsara Assets API
Samsara Assignments API
Samsara Attributes API
Samsara Audit API
Samsara Beta A P Is API
Samsara Camera API
Samsara Cameras API
Samsara Cargo API
Where this information came from

This is an independent, third-party profile of Samsara Defects 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.