Skip to content

API Reference parrot_tools.interfaces.gigsmart.models.engagement

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.interfaces.gigsmart.models.engagement

View source

Pydantic v2 models for GigSmart engagements API surface.

Class AddEngagementInput

Input for the addEngagement mutation.

All instances are immutable (frozen=True) for safe passing as GraphQL variables.

Fields:

Field Type Default Description
gig_id str
worker_id str | None None
initial_state Literal['OFFERED', 'BID_REQUESTED', 'SCHEDULED'] | None None
pay_rate str | None None
pay_schedule Literal['FIXED', 'HOURLY', 'INFO_REQUIRED'] | None None
note str | None None
cancel_conflicting_engagements bool | None None

Class Engagement

A GigSmart engagement resource linking a worker to a gig.

Fields:

Field Type Default Description
id str
gig_id str | None None
worker_display_name str | None None
current_state dict
applied_at datetime | None None
hired_at datetime | None None

Class TransitionEngagementInput

Input for the single transitionEngagement mutation.

This is the only mutation for ALL engagement state changes. There are no separate hire, accept, cancel, or end mutations.

Fields:

Field Type Default Description
engagement_id str
action str
cancel_conflicting_engagements bool | None None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally