list_model_share_requests
List model share requests for the current tenant. direction=‘incoming’ shows requests targeting this tenant; direction=‘outgoing’ shows requests this tenant initiated; direction=‘all’ (default) shows both. Filter by status: ‘pending’, ‘accepted’, ‘rejected’, ‘revoked’, or ‘all’ (default). Returns: requests (list with full status, commit SHAs, and timestamps).
read-only · idempotent
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
direction | Annotated[Literal['incoming', 'outgoing', 'all'], Field(description="Filter by share direction: 'incoming' (requests to this workspace), 'outgoing' (requests from this workspace), or 'all'.")] | No | 'all' | |
status | Annotated[Literal['pending', 'accepted', 'rejected', 'revoked', 'all'], Field(description="Filter by request status: 'pending', 'accepted', 'rejected', 'revoked', or 'all'.")] | No | 'all' |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
requests(array<object>)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "list_model_share_requests", "arguments": { "direction": "incoming", "status": "pending" }}Response
Section titled “Response”{ "requests": [ { "id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", "source_tenant_id": "11111111-1111-1111-1111-111111111111", "source_project": "platform", "source_model": "revenue_forecast", "requester_id": "22222222-2222-2222-2222-222222222222", "target_tenant_id": "22222222-2222-2222-2222-222222222222", "suggested_target_project": "forecasts", "suggested_target_model": "acme_revenue_forecast", "status": "pending", "accepter_id": null, "accepted_target_project": null, "accepted_target_model": null, "source_commit_sha": "abc1234def5678901234567890abcdef12345678", "target_commit_sha": null, "created_at": "2026-04-28T10:00:00+00:00", "updated_at": "2026-04-28T10:00:00+00:00" } ]}- Module:
Sharing - Requires authentication via API token or Auth0 JWT.