vendor_connectors.meshy.webhooks.schemas
Pydantic schemas for Meshy webhook payloads.
Module Contents
Section titled “Module Contents”Classes
Section titled “Classes”WebhookModelUrls | Model URLs in webhook payload. |
|---|---|
WebhookTextureUrls | Texture URLs in webhook payload. |
WebhookBasicAnimations | Basic animations in rigging webhook. |
WebhookRiggingResult | Rigging result in webhook payload. |
WebhookTaskError | Error details in webhook payload. |
MeshyWebhookPayload | Webhook payload from Meshy API. |
class vendor_connectors.meshy.webhooks.schemas.WebhookModelUrls
Section titled “class vendor_connectors.meshy.webhooks.schemas.WebhookModelUrls”Bases: pydantic.BaseModel
Model URLs in webhook payload.
None
None
None
None
None
class vendor_connectors.meshy.webhooks.schemas.WebhookTextureUrls
Section titled “class vendor_connectors.meshy.webhooks.schemas.WebhookTextureUrls”Bases: pydantic.BaseModel
Texture URLs in webhook payload.
base_color : str | None
Section titled “base_color : str | None”None
metallic : str | None
Section titled “metallic : str | None”None
roughness : str | None
Section titled “roughness : str | None”None
normal : str | None
Section titled “normal : str | None”None
None
class vendor_connectors.meshy.webhooks.schemas.WebhookBasicAnimations
Section titled “class vendor_connectors.meshy.webhooks.schemas.WebhookBasicAnimations”Bases: pydantic.BaseModel
Basic animations in rigging webhook.
walking_glb_url : str | None
Section titled “walking_glb_url : str | None”None
walking_fbx_url : str | None
Section titled “walking_fbx_url : str | None”None
walking_armature_glb_url : str | None
Section titled “walking_armature_glb_url : str | None”None
running_glb_url : str | None
Section titled “running_glb_url : str | None”None
running_fbx_url : str | None
Section titled “running_fbx_url : str | None”None
running_armature_glb_url : str | None
Section titled “running_armature_glb_url : str | None”None
class vendor_connectors.meshy.webhooks.schemas.WebhookRiggingResult
Section titled “class vendor_connectors.meshy.webhooks.schemas.WebhookRiggingResult”Bases: pydantic.BaseModel
Rigging result in webhook payload.
rigged_character_fbx_url : str | None
Section titled “rigged_character_fbx_url : str | None”None
rigged_character_glb_url : str | None
Section titled “rigged_character_glb_url : str | None”None
basic_animations : vendor_connectors.meshy.webhooks.schemas.WebhookBasicAnimations | None
Section titled “basic_animations : vendor_connectors.meshy.webhooks.schemas.WebhookBasicAnimations | None”None
class vendor_connectors.meshy.webhooks.schemas.WebhookTaskError
Section titled “class vendor_connectors.meshy.webhooks.schemas.WebhookTaskError”Bases: pydantic.BaseModel
Error details in webhook payload.
message : str | None
Section titled “message : str | None”None
None
class vendor_connectors.meshy.webhooks.schemas.MeshyWebhookPayload
Section titled “class vendor_connectors.meshy.webhooks.schemas.MeshyWebhookPayload”Bases: pydantic.BaseModel
Webhook payload from Meshy API.
This represents the JSON payload sent by Meshy when a task completes. Different services (text3d, rigging, animation, retexture) send different fields.
‘Field(…)’
status : str
Section titled “status : str”‘Field(…)’
progress : int
Section titled “progress : int”‘Field(…)’
created_at : int
Section titled “created_at : int”‘Field(…)’
started_at : int | None
Section titled “started_at : int | None”None
finished_at : int | None
Section titled “finished_at : int | None”None
expires_at : int | None
Section titled “expires_at : int | None”None
model_urls : vendor_connectors.meshy.webhooks.schemas.WebhookModelUrls | None
Section titled “model_urls : vendor_connectors.meshy.webhooks.schemas.WebhookModelUrls | None”None
texture_urls : list[vendor_connectors.meshy.webhooks.schemas.WebhookTextureUrls] | None
Section titled “texture_urls : list[vendor_connectors.meshy.webhooks.schemas.WebhookTextureUrls] | None”None
thumbnail_url : str | None
Section titled “thumbnail_url : str | None”None
result : vendor_connectors.meshy.webhooks.schemas.WebhookRiggingResult | None
Section titled “result : vendor_connectors.meshy.webhooks.schemas.WebhookRiggingResult | None”None
animation_glb_url : str | None
Section titled “animation_glb_url : str | None”None
animation_fbx_url : str | None
Section titled “animation_fbx_url : str | None”None
video_url : str | None
Section titled “video_url : str | None”None
task_error : vendor_connectors.meshy.webhooks.schemas.WebhookTaskError | None
Section titled “task_error : vendor_connectors.meshy.webhooks.schemas.WebhookTaskError | None”None
preceding_tasks : int
Section titled “preceding_tasks : int”‘Field(…)’
get_error_message() → str | None
Section titled “get_error_message() → str | None”Extract error message from task_error field.
get_glb_url() → str | None
Section titled “get_glb_url() → str | None”Get GLB URL regardless of service type.
get_all_urls() → dict[str, str]
Section titled “get_all_urls() → dict[str, str]”Get all available URLs as a flat dict.