SetupPromptRequest

object
promptTypestringrequired

Type of prompt input for AI template generation

Allowed values:TEXTIMAGE

modelIdstring

Optional ID of the Bedrock model to use (e.g., “anthropic.claude-3-sonnet-20240229-v1:0”)

Match pattern:^[a-zA-Z0-9.\-:]+$

>= 1 characters<= 255 characters

Example:anthropic.claude-3-sonnet-20240229-v1:0

promptTextstringrequired

The input for AI template generation:

  • For promptType: TEXT - Plain text description of the inspection template
  • For promptType: IMAGE - Base64-encoded image data (JPEG or PNG) of an existing inspection form

Match pattern:^\S[^\n]+\S$

>= 1 characters<= 10000000 characters

inferenceParametersobject

Optional dictionary to hold model-specific inference parameters (e.g., “temperature”, “max_tokens”, “top_p”)

Example:{"max_tokens":2000,"temperature":0.7,"top_p":0.9}

* Additional properties are allowed.
Example

InspectableId

string

Unique ID for an inspectable, i.e. asset/vehicle (asset ID/vehicle ID).

Match pattern:^[A-Za-z0-9-]{1,120}$

>= 1 characters<= 120 characters

ReportType

string

Type of the inspection report.

Allowed values:PRE_TRIPPOST_TRIP

Analytics trace event

object

Named occurrence at an instant in time. It provides additional specifics about the occurrence.
Examples of Events might include things like uncaught exceptions, button clicks, user logout, network connection severed, etc.

* Additional properties are NOT allowed.
namestringrequired

Type of event related to the originating occurrence

Match pattern:^(inspection\.started|inspection\.submitted)$

>= 18 characters<= 20 characters

traceIdstringread-only

Unique identifier for a distributed trace the event is part of

Match pattern:^[a-f0-9]{32}$

>= 32 characters<= 32 characters

analyticsEventIdstringread-only

Unique identifier of an analytics event.

Match pattern:^[A-Za-z0-9-]{1,120}$

>= 1 characters<= 120 characters

timestampstring(date-time)required

Time when the event occurred in RFC 3339-ISO8601 internet profile

>= 24 characters<= 24 characters

Example

PrivacyExtractContinuationToken

string

Identifies a bookmark for the next page of privacy extract results.

Match pattern:^[.+\/=A-Za-z0-9]+$

>= 1 characters<= 200 characters