Skip to main content

Module airbyte_agent_sdk.connectors.granola.models

Pydantic models for granola connector.

This module contains Pydantic models used for authentication configuration and response envelope types.

Classes

AirbyteSearchMeta(**data: Any) : Pagination metadata for search responses.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

cursor: str | None : Cursor for fetching the next page of results.

has_more: bool : Whether more results are available.

model_config : The type of the None singleton.

took_ms: int | None : Time taken to execute the search in milliseconds.

AirbyteSearchResult(**data: Any) : Result from Airbyte cache search operations with typed records.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel
  • typing.Generic

Descendants

  • airbyte_agent_sdk.connectors.granola.models.AirbyteSearchResult[NotesSearchData]

Class variables

data: list[~D] : List of matching records.

meta: airbyte_agent_sdk.connectors.granola.models.AirbyteSearchMeta : Pagination metadata.

model_config : The type of the None singleton.

AirbyteSearchResult[NotesSearchData](**data: Any) : Result from Airbyte cache search operations with typed records.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • airbyte_agent_sdk.connectors.granola.models.AirbyteSearchResult
  • pydantic.main.BaseModel
  • typing.Generic

Class variables

model_config : The type of the None singleton.

NotesSearchResult(**data: Any) : Result from Airbyte cache search operations with typed records.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • airbyte_agent_sdk.connectors.granola.models.AirbyteSearchResult
  • pydantic.main.BaseModel
  • typing.Generic

Attendee(**data: Any) : A meeting attendee

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

email: str | None : The type of the None singleton.

model_config : The type of the None singleton.

name: str | None : The type of the None singleton.

CalendarEvent(**data: Any) : Associated calendar event details

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

calendar_event_id: str | None : The type of the None singleton.

event_title: str | None : The type of the None singleton.

invitees: list[airbyte_agent_sdk.connectors.granola.models.CalendarEventInvitee] | None : The type of the None singleton.

model_config : The type of the None singleton.

organiser: str | None : The type of the None singleton.

scheduled_end_time: str | None : The type of the None singleton.

scheduled_start_time: str | None : The type of the None singleton.

CalendarEventInvitee(**data: Any) : A calendar event invitee

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

email: str | None : The type of the None singleton.

model_config : The type of the None singleton.

FolderMembership(**data: Any) : Folder the note belongs to

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

id: str | None : The type of the None singleton.

model_config : The type of the None singleton.

name: str | None : The type of the None singleton.

object_: str | None : The type of the None singleton.

GranolaAuthConfig(**data: Any) : API Key Authentication

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

api_key: str : Granola Enterprise API key generated from Settings > Workspaces > API tab

model_config : The type of the None singleton.

GranolaCheckResult(**data: Any) : Result of a health check operation.

Returned by the check() method to indicate connectivity and credential status.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

checked_action: str | None : Action name used for the health check.

checked_entity: str | None : Entity name used for the health check.

error: str | None : Error message if status is 'unhealthy', None otherwise.

model_config : The type of the None singleton.

status: str : Health check status: 'healthy' or 'unhealthy'.

GranolaExecuteResult(**data: Any) : Response envelope with data only.

Used for actions that return data without metadata.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel
  • typing.Generic

Descendants

  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResultWithMeta

Class variables

data: ~T : Response data containing the result of the action.

model_config : The type of the None singleton.

GranolaExecuteResultWithMeta(**data: Any) : Response envelope with data and metadata.

Used for actions that return both data and metadata (e.g., pagination info).

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResult
  • pydantic.main.BaseModel
  • typing.Generic

Descendants

  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResultWithMeta[list[Note], NotesListResultMeta]

Class variables

meta: ~S : Metadata about the response (e.g., pagination cursors, record counts).

GranolaExecuteResultWithMeta[list[Note], NotesListResultMeta](**data: Any) : Response envelope with data and metadata.

Used for actions that return both data and metadata (e.g., pagination info).

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResultWithMeta
  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResult
  • pydantic.main.BaseModel
  • typing.Generic

Class variables

model_config : The type of the None singleton.

NotesListResult(**data: Any) : Response envelope with data and metadata.

Used for actions that return both data and metadata (e.g., pagination info).

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResultWithMeta
  • airbyte_agent_sdk.connectors.granola.models.GranolaExecuteResult
  • pydantic.main.BaseModel
  • typing.Generic

Note(**data: Any) : A Granola meeting note

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

attendees: list[airbyte_agent_sdk.connectors.granola.models.Attendee] | None : The type of the None singleton.

calendar_event: typing.Any | None : The type of the None singleton.

created_at: str | None : The type of the None singleton.

folder_membership: list[airbyte_agent_sdk.connectors.granola.models.FolderMembership] | None : The type of the None singleton.

id: str : The type of the None singleton.

model_config : The type of the None singleton.

object_: str | None : The type of the None singleton.

owner: typing.Any | None : The type of the None singleton.

summary_markdown: str | None : The type of the None singleton.

summary_text: str | None : The type of the None singleton.

title: str | None : The type of the None singleton.

transcript: list[airbyte_agent_sdk.connectors.granola.models.TranscriptEntry] | None : The type of the None singleton.

updated_at: str | None : The type of the None singleton.

NotesList(**data: Any) : Paginated list of notes

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

cursor: str | None : The type of the None singleton.

has_more: bool | None : The type of the None singleton.

model_config : The type of the None singleton.

notes: list[airbyte_agent_sdk.connectors.granola.models.Note] | None : The type of the None singleton.

NotesListResultMeta(**data: Any) : Metadata for notes.Action.LIST operation

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

cursor: str | None : The type of the None singleton.

has_more: bool | None : The type of the None singleton.

model_config : The type of the None singleton.

NotesSearchData(**data: Any) : Search result data for notes entity.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

attendees: list[typing.Any] | None : The attendees of the meeting.

calendar_event: dict[str, typing.Any] | None : Associated calendar event details.

created_at: str | None : The creation time of the note in ISO 8601 format.

folder_membership: list[typing.Any] | None : The folder membership of the note.

id: str | None : The unique identifier of the note.

model_config : The type of the None singleton.

object_: str | None : The object type, always "note".

owner: dict[str, typing.Any] | None : The owner of the note.

summary_markdown: str | None : Markdown formatted summary of the note.

summary_text: str | None : Plain text summary of the note.

title: str | None : The title of the note.

transcript: list[typing.Any] | None : Transcript of the meeting.

updated_at: str | None : The last update time of the note in ISO 8601 format.

Owner(**data: Any) : The owner of the note

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

email: str | None : The type of the None singleton.

model_config : The type of the None singleton.

name: str | None : The type of the None singleton.

TranscriptEntry(**data: Any) : A single transcript entry

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

end_time: str | None : The type of the None singleton.

model_config : The type of the None singleton.

speaker: typing.Any | None : The type of the None singleton.

start_time: str | None : The type of the None singleton.

text: str | None : The type of the None singleton.

TranscriptSpeaker(**data: Any) : Speaker information in transcript

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Ancestors (in MRO)

  • pydantic.main.BaseModel

Class variables

model_config : The type of the None singleton.

source: str | None : The type of the None singleton.