{"openapi":"3.1.0","info":{"title":"nafnaf API","version":"0.1.0"},"paths":{"/v1/auth/challenge":{"get":{"summary":"Login Challenge","operationId":"login_challenge_v1_auth_challenge_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Login Challenge V1 Auth Challenge Get"}}}}}}},"/v1/auth/magic-links":{"post":{"summary":"Request Magic Link","operationId":"request_magic_link_v1_auth_magic_links_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Request Magic Link V1 Auth Magic Links Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/google/start":{"get":{"summary":"Start Google Login","operationId":"start_google_login_v1_auth_google_start_get","parameters":[{"name":"return_to","in":"query","required":false,"schema":{"type":"string","maxLength":512,"default":"/app","title":"Return To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Start Google Login With Challenge","operationId":"start_google_login_with_challenge_v1_auth_google_start_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLoginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/google/callback":{"get":{"summary":"Finish Google Login","operationId":"finish_google_login_v1_auth_google_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","maxLength":4096,"default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","maxLength":128,"default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","maxLength":256,"default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/verify":{"get":{"summary":"Verify Magic Link In Browser","operationId":"verify_magic_link_in_browser_v1_auth_verify_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Verify Magic Link","operationId":"verify_magic_link_v1_auth_verify_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Verify Magic Link V1 Auth Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/bucks":{"get":{"summary":"Bucks","operationId":"bucks_v1_admin_bucks_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"string","default":"7","title":"Days"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agent-keys":{"get":{"summary":"List Agent Keys","operationId":"list_agent_keys_v1_agent_keys_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Cursor"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Agent Key","operationId":"create_agent_key_v1_agent_keys_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentKeyRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agent-keys/{key_id}":{"delete":{"summary":"Revoke Agent Key","operationId":"revoke_agent_key_v1_agent_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agent/self":{"get":{"summary":"Agent Self","operationId":"agent_self_v1_agent_self_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/provider/earnings":{"get":{"summary":"Provider Earnings Summary","operationId":"provider_earnings_summary_v1_provider_earnings_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/provider/earnings/countries":{"get":{"summary":"Provider Earnings Countries","operationId":"provider_earnings_countries_v1_provider_earnings_countries_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/provider/earnings/onboarding":{"post":{"summary":"Provider Earnings Onboarding","operationId":"provider_earnings_onboarding_v1_provider_earnings_onboarding_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderOnboardingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/provider/earnings/request":{"post":{"summary":"Provider Earnings Request","operationId":"provider_earnings_request_v1_provider_earnings_request_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/billing-review":{"get":{"summary":"Endpoint Billing Review","operationId":"endpoint_billing_review_v1_endpoints__endpoint_id__billing_review_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Report Endpoint Billing","operationId":"report_endpoint_billing_v1_endpoints__endpoint_id__billing_review_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointBillingReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing":{"get":{"summary":"Billing Balance","operationId":"billing_balance_v1_billing_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/leaderboard":{"get":{"summary":"Get Leaderboard","operationId":"get_leaderboard_v1_leaderboard_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"enum":["30d","all"],"type":"string","default":"30d","title":"Period"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/me/leaderboard":{"put":{"summary":"Update Leaderboard Profile","operationId":"update_leaderboard_profile_v1_me_leaderboard_put","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaderboardProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/checkout":{"post":{"summary":"Billing Checkout","operationId":"billing_checkout_v1_billing_checkout_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/checkout/{order_id}/confirm":{"post":{"summary":"Billing Confirm","operationId":"billing_confirm_v1_billing_checkout__order_id__confirm_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/stripe/webhook":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_billing_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/session":{"get":{"summary":"Session","operationId":"session_v1_auth_session_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Session V1 Auth Session Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/logout":{"post":{"summary":"Logout","operationId":"logout_v1_auth_logout_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Logout V1 Auth Logout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/me":{"get":{"summary":"Me","operationId":"me_v1_me_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Me V1 Me Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/me/notifications":{"get":{"summary":"Get Notifications","operationId":"get_notifications_v1_me_notifications_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Set Notifications","operationId":"set_notifications_v1_me_notifications_put","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cli/logins":{"post":{"summary":"Create Cli Login","operationId":"create_cli_login_v1_cli_logins_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CliLoginRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Cli Login V1 Cli Logins Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cli/logins/status":{"get":{"summary":"Cli Login Status","operationId":"cli_login_status_v1_cli_logins_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Cli Login Status V1 Cli Logins Status Get"}}}}}}},"/v1/cli/authorize":{"post":{"summary":"Authorize Cli","operationId":"authorize_cli_v1_cli_authorize_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CliAuthorizationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Authorize Cli V1 Cli Authorize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cli/token":{"delete":{"summary":"Revoke Cli Token","operationId":"revoke_cli_token_v1_cli_token_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Revoke Cli Token V1 Cli Token Delete"}}}}}}},"/v1/offers":{"get":{"summary":"Offers","operationId":"offers_v1_offers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Offers V1 Offers Get"}}}}}}},"/v1/vast/match":{"get":{"summary":"Match Vast","operationId":"match_vast_v1_vast_match_get","parameters":[{"name":"machine_id","in":"query","required":true,"schema":{"type":"integer","maximum":999999999,"minimum":1,"title":"Machine Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Match Vast V1 Vast Match Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vast/offers":{"get":{"summary":"Vast Catalog","operationId":"vast_catalog_v1_vast_offers_get","parameters":[{"name":"gpu","in":"query","required":false,"schema":{"type":"string","maxLength":80,"pattern":"^[A-Za-z0-9 _./-]*$","default":"","title":"Gpu"}},{"name":"machine_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":999999999,"minimum":1},{"type":"null"}],"title":"Machine Id"}},{"name":"min_vram_gb","in":"query","required":false,"schema":{"type":"integer","maximum":512,"minimum":0,"default":0,"title":"Min Vram Gb"}},{"name":"num_gpus","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":64,"minimum":1},{"type":"null"}],"title":"Num Gpus"}},{"name":"max_hourly","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":10000,"exclusiveMinimum":0},{"type":"null"}],"title":"Max Hourly"}},{"name":"connected_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Connected Only"}},{"name":"available_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Available Only"}},{"name":"include_unavailable","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Unavailable"}},{"name":"price_order","in":"query","required":false,"schema":{"type":"string","pattern":"^(asc|desc)$","default":"asc","title":"Price Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Vast Catalog V1 Vast Offers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/machines":{"get":{"summary":"User Machines","operationId":"user_machines_v1_machines_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response User Machines V1 Machines Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/machines/{machine_id}/settings":{"put":{"summary":"Update Machine Settings","operationId":"update_machine_settings_v1_machines__machine_id__settings_put","parameters":[{"name":"machine_id","in":"path","required":true,"schema":{"type":"string","title":"Machine Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MachineSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Machine Settings V1 Machines  Machine Id  Settings Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/machines/{machine_id}":{"delete":{"summary":"Remove Machine","operationId":"remove_machine_v1_machines__machine_id__delete","parameters":[{"name":"machine_id","in":"path","required":true,"schema":{"type":"string","title":"Machine Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Machine V1 Machines  Machine Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/workload-templates":{"get":{"summary":"Workload Templates","operationId":"workload_templates_v1_workload_templates_get","parameters":[{"name":"offer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workload Templates V1 Workload Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances":{"get":{"summary":"Instances","operationId":"instances_v1_instances_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Instances V1 Instances Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Instance","operationId":"create_instance_v1_instances_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstanceRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Instance V1 Instances Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}":{"delete":{"summary":"Stop Instance","operationId":"stop_instance_v1_instances__instance_id__delete","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stop Instance V1 Instances  Instance Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}/resume":{"post":{"summary":"Change Instance State","operationId":"change_instance_state_v1_instances__instance_id__resume_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Instance State V1 Instances  Instance Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}/pause":{"post":{"summary":"Change Instance State","operationId":"change_instance_state_v1_instances__instance_id__pause_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Instance State V1 Instances  Instance Id  Pause Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}/tunnels":{"post":{"summary":"Open Instance Tunnel","operationId":"open_instance_tunnel_v1_instances__instance_id__tunnels_post","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortTunnelRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Open Instance Tunnel V1 Instances  Instance Id  Tunnels Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}/tunnels/{tunnel_id}":{"delete":{"summary":"Close Instance Tunnel","operationId":"close_instance_tunnel_v1_instances__instance_id__tunnels__tunnel_id__delete","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"tunnel_id","in":"path","required":true,"schema":{"type":"string","title":"Tunnel Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Close Instance Tunnel V1 Instances  Instance Id  Tunnels  Tunnel Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}/ssh-access":{"get":{"summary":"Instance Ssh Access","operationId":"instance_ssh_access_v1_instances__instance_id__ssh_access_get","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Instance Ssh Access V1 Instances  Instance Id  Ssh Access Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instances/{instance_id}/logs":{"get":{"summary":"Instance Logs","operationId":"instance_logs_v1_instances__instance_id__logs_get","parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Instance Logs V1 Instances  Instance Id  Logs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hosts/tokens":{"post":{"summary":"Create Host Token","operationId":"create_host_token_v1_hosts_tokens_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostTokenRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Host Token V1 Hosts Tokens Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hosts/tokens/{host_token_id}":{"delete":{"summary":"Revoke Host Token","operationId":"revoke_host_token_v1_hosts_tokens__host_token_id__delete","parameters":[{"name":"host_token_id","in":"path","required":true,"schema":{"type":"string","title":"Host Token Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Host Token V1 Hosts Tokens  Host Token Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/provider/integrations/vast":{"get":{"summary":"Vast Integration Status","operationId":"vast_integration_status_v1_provider_integrations_vast_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Connect Vast Integration","operationId":"connect_vast_integration_v1_provider_integrations_vast_put","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Disconnect Vast Integration","operationId":"disconnect_vast_integration_v1_provider_integrations_vast_delete","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/provider/integrations/vast/hosts/{machine_id}":{"put":{"summary":"Grant Host Vast Access","operationId":"grant_host_vast_access_v1_provider_integrations_vast_hosts__machine_id__put","parameters":[{"name":"machine_id","in":"path","required":true,"schema":{"type":"string","title":"Machine Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostIntegrationGrantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hosts/integrations/vast":{"get":{"summary":"Host Vast Integration","operationId":"host_vast_integration_v1_hosts_integrations_vast_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/installations/{installation_id}":{"get":{"summary":"Installation Status","operationId":"installation_status_v1_installations__installation_id__get","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Installation Status V1 Installations  Installation Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/installations/claim":{"post":{"summary":"Claim Installation","operationId":"claim_installation_v1_installations_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallationClaim"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Claim Installation V1 Installations Claim Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/installations/{installation_id}/events":{"post":{"summary":"Installation Event","operationId":"installation_event_v1_installations__installation_id__events_post","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallationEvent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Installation Event V1 Installations  Installation Id  Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/installations/{installation_id}/progress":{"post":{"summary":"Installation Progress","operationId":"installation_progress_v1_installations__installation_id__progress_post","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallationProgress"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Installation Progress V1 Installations  Installation Id  Progress Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/installations/{installation_id}/complete":{"post":{"summary":"Complete Installation","operationId":"complete_installation_v1_installations__installation_id__complete_post","parameters":[{"name":"installation_id","in":"path","required":true,"schema":{"type":"string","title":"Installation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallationComplete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Complete Installation V1 Installations  Installation Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hosts/commands/poll":{"post":{"summary":"Poll Host Commands","operationId":"poll_host_commands_v1_hosts_commands_poll_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Poll Host Commands V1 Hosts Commands Poll Post"}}}}}}},"/v1/hosts/heartbeat":{"post":{"summary":"Host Heartbeat","operationId":"host_heartbeat_v1_hosts_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostHeartbeat"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Host Heartbeat V1 Hosts Heartbeat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mcp/nafnaf-mcp.py":{"get":{"summary":"Mcp Adapter Source","operationId":"mcp_adapter_source_v1_mcp_nafnaf_mcp_py_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/mcp/nafnaf-mcp.py.lock":{"get":{"summary":"Mcp Adapter Lock","operationId":"mcp_adapter_lock_v1_mcp_nafnaf_mcp_py_lock_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/install":{"get":{"summary":"Agent Installer","operationId":"agent_installer_v1_agent_install_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/nafnafd":{"get":{"summary":"Agent Source","operationId":"agent_source_v1_agent_nafnafd_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/install-core":{"get":{"summary":"Agent Core Installer","operationId":"agent_core_installer_v1_agent_install_core_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/install-resume":{"get":{"summary":"Agent Installation Resume","operationId":"agent_installation_resume_v1_agent_install_resume_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/update":{"get":{"summary":"Agent Updater","operationId":"agent_updater_v1_agent_update_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/auto-update":{"get":{"summary":"Agent Automatic Updater","operationId":"agent_automatic_updater_v1_agent_auto_update_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/storage-setup":{"get":{"summary":"Agent Storage Setup","operationId":"agent_storage_setup_v1_agent_storage_setup_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/manifest":{"get":{"summary":"Agent Manifest","operationId":"agent_manifest_v1_agent_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent Manifest V1 Agent Manifest Get"}}}}}}},"/v1/agent/workspace/dockerfile":{"get":{"summary":"Agent Workspace Dockerfile","operationId":"agent_workspace_dockerfile_v1_agent_workspace_dockerfile_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/workspace/entrypoint":{"get":{"summary":"Agent Workspace Entrypoint","operationId":"agent_workspace_entrypoint_v1_agent_workspace_entrypoint_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/flash/dockerfile":{"get":{"summary":"Agent Flash Dockerfile","operationId":"agent_flash_dockerfile_v1_agent_flash_dockerfile_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/flash/patch":{"get":{"summary":"Agent Flash Patch","operationId":"agent_flash_patch_v1_agent_flash_patch_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/systemd":{"get":{"summary":"Agent Systemd Service","operationId":"agent_systemd_service_v1_agent_systemd_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/agent/launchd":{"get":{"summary":"Agent Launchd Service","operationId":"agent_launchd_service_v1_agent_launchd_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/cli/install":{"get":{"summary":"Cli Installer","operationId":"cli_installer_v1_cli_install_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/cli/nafnaf":{"get":{"summary":"Cli Source","operationId":"cli_source_v1_cli_nafnaf_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/market/machines":{"get":{"summary":"Machines","operationId":"machines_v1_market_machines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Machines V1 Market Machines Get"}}}}}}},"/v1/endpoint-models":{"get":{"summary":"Catalog","operationId":"catalog_v1_endpoint_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/endpoints/quote":{"post":{"summary":"Quote","operationId":"quote_v1_endpoints_quote_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints":{"post":{"summary":"Create","operationId":"create_v1_endpoints_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Listing","operationId":"listing_v1_endpoints_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}":{"get":{"summary":"Detail","operationId":"detail_v1_endpoints__endpoint_id__get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete","operationId":"delete_v1_endpoints__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/rotate-key":{"post":{"summary":"Rotate","operationId":"rotate_v1_endpoints__endpoint_id__rotate_key_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/logs":{"get":{"summary":"Logs","operationId":"logs_v1_endpoints__endpoint_id__logs_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/pause":{"post":{"summary":"Pause","operationId":"pause_v1_endpoints__endpoint_id__pause_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/resume":{"post":{"summary":"Resume","operationId":"resume_v1_endpoints__endpoint_id__resume_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/stop":{"post":{"summary":"Stop","operationId":"stop_v1_endpoints__endpoint_id__stop_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/v1/models":{"get":{"summary":"Models","operationId":"models_v1_endpoints__endpoint_id__v1_models_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/v1/chat/completions":{"post":{"summary":"Chat","operationId":"chat_v1_endpoints__endpoint_id__v1_chat_completions_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/v1/completions":{"post":{"summary":"Completions","operationId":"completions_v1_endpoints__endpoint_id__v1_completions_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoints/{endpoint_id}/v1/messages":{"post":{"summary":"Messages","operationId":"messages_v1_endpoints__endpoint_id__v1_messages_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/inference/launch":{"get":{"summary":"Launch","operationId":"launch_v1_inference_launch_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/inference":{"get":{"summary":"Account","operationId":"account_v1_inference_get","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/inference/keys":{"post":{"summary":"Create Key","operationId":"create_key_v1_inference_keys_post","parameters":[{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/inference/keys/{key_id}":{"delete":{"summary":"Revoke Key","operationId":"revoke_key_v1_inference_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/inference/usage":{"get":{"summary":"Usage","operationId":"usage_v1_inference_usage_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"model","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"Model"}},{"name":"key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":32,"maxLength":32},{"type":"null"}],"title":"Key Id"}},{"name":"nafnaf_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nafnaf Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AgentKeyRequest":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[^\\x00-\\x1f\\x7f]+$","title":"Name"},"scopes":{"items":{"type":"string","enum":["rentals:read","rentals:create","rentals:pause","rentals:resume","rentals:delete","rentals:connect","inference:invoke"]},"type":"array","maxItems":7,"minItems":1,"title":"Scopes"},"budget_usd":{"anyOf":[{"type":"number","maximum":10000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}],"title":"Budget Usd"},"expires_in_seconds":{"type":"integer","maximum":7776000.0,"minimum":3600.0,"title":"Expires In Seconds"},"max_rental_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":1.0},{"type":"null"}],"title":"Max Rental Hours"},"max_price_per_gpu_hour":{"anyOf":[{"type":"number","maximum":1050.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"},{"type":"null"}],"title":"Max Price Per Gpu Hour"},"max_active_instances":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Max Active Instances","default":1},"max_output_tokens":{"type":"integer","maximum":32768.0,"minimum":1.0,"title":"Max Output Tokens","default":4096},"allowed_models":{"items":{"type":"string","const":"qwen/qwen3.8-27b"},"type":"array","maxItems":1,"title":"Allowed Models"},"expected_inference_pricing_policy":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Expected Inference Pricing Policy"}},"additionalProperties":false,"type":"object","required":["name","scopes","budget_usd","expires_in_seconds"],"title":"AgentKeyRequest"},"AgentUpdateReport":{"properties":{"supported":{"type":"boolean","title":"Supported","default":false},"enabled":{"type":"boolean","title":"Enabled","default":false},"state":{"anyOf":[{"type":"string","enum":["disabled","host_stopped","manual_update","current","deferred","waiting_for_idle","updating","failed"]},{"type":"null"}],"title":"State"},"current_version":{"anyOf":[{"type":"string","maxLength":32,"pattern":"^\\d+\\.\\d+\\.\\d+$"},{"type":"null"}],"title":"Current Version"},"target_version":{"anyOf":[{"type":"string","maxLength":32,"pattern":"^\\d+\\.\\d+\\.\\d+$"},{"type":"null"}],"title":"Target Version"},"checked_at":{"anyOf":[{"type":"integer","maximum":4102444800.0,"minimum":0.0},{"type":"null"}],"title":"Checked At"},"retry_at":{"anyOf":[{"type":"integer","maximum":4102444800.0,"minimum":0.0},{"type":"null"}],"title":"Retry At"}},"type":"object","title":"AgentUpdateReport"},"CheckoutRequest":{"properties":{"amount_cents":{"type":"integer","title":"Amount Cents"},"request_id":{"type":"string","format":"uuid","title":"Request Id"}},"type":"object","required":["amount_cents","request_id"],"title":"CheckoutRequest"},"CliAuthorizationRequest":{"properties":{"device_code":{"type":"string","maxLength":11,"minLength":11,"title":"Device Code"}},"type":"object","required":["device_code"],"title":"CliAuthorizationRequest"},"CliLoginRequest":{"properties":{"token_hash":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Token Hash"}},"type":"object","required":["token_hash"],"title":"CliLoginRequest"},"CreateRequest":{"properties":{"quote_id":{"type":"string","pattern":"^(?:eq|nq)_[a-f0-9]{32}$","title":"Quote Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Name"},"expected_storage_retention_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Storage Retention Seconds"},"expected_transfer_policy":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Expected Transfer Policy"}},"type":"object","required":["quote_id","request_id"],"title":"CreateRequest"},"EndpointBillingReviewRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":10,"title":"Reason"}},"type":"object","required":["reason"],"title":"EndpointBillingReviewRequest"},"GoogleLoginRequest":{"properties":{"return_to":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Return To","default":"/app"},"challenge_token":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Challenge Token"}},"type":"object","title":"GoogleLoginRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HostHeartbeat":{"properties":{"version":{"type":"string","maxLength":32,"title":"Version","default":"0.0.0"},"update_pending":{"type":"boolean","title":"Update Pending","default":false},"agent_update":{"$ref":"#/components/schemas/AgentUpdateReport"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"host_id":{"type":"string","maxLength":128,"minLength":1,"title":"Host Id"},"hostname":{"type":"string","maxLength":255,"minLength":1,"title":"Hostname"},"gpus":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":64,"title":"Gpus"},"warnings":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Warnings"},"architecture":{"type":"string","title":"Architecture","default":"nvidia-cuda"},"system_memory_gb":{"type":"integer","title":"System Memory Gb","default":0},"workload_max_memory_gb":{"type":"integer","maximum":1048576.0,"minimum":0.0,"title":"Workload Max Memory Gb","default":0},"workload_memory_gib":{"anyOf":[{"type":"number","maximum":1048576.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Workload Memory Gib"},"workload_cpu_limit":{"anyOf":[{"type":"number","maximum":65536.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Workload Cpu Limit"},"cpu_cores":{"type":"integer","title":"Cpu Cores","default":0},"runtime":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Runtime"},"runtime_ready":{"type":"boolean","title":"Runtime Ready","default":true},"network_transfer_metering":{"anyOf":[{"type":"string","const":"container-network-v1"},{"type":"null"}],"title":"Network Transfer Metering"},"coexistence_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coexistence Mode"},"vast_detected":{"type":"boolean","title":"Vast Detected","default":false},"on_demand_ready":{"type":"boolean","title":"On Demand Ready","default":false},"dedicated_host_confirmed":{"type":"boolean","title":"Dedicated Host Confirmed","default":false},"standalone_host_detected":{"type":"boolean","title":"Standalone Host Detected","default":false},"marketplace_inspection_complete":{"type":"boolean","title":"Marketplace Inspection Complete","default":false},"vast_listing_modified":{"type":"boolean","title":"Vast Listing Modified","default":false},"vast_listing":{"additionalProperties":true,"type":"object","title":"Vast Listing"},"preemption_poll_seconds":{"type":"integer","title":"Preemption Poll Seconds","default":0},"leases":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","maxProperties":1000,"title":"Leases"},"command_results":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":100,"title":"Command Results"},"qualification":{"additionalProperties":true,"type":"object","title":"Qualification"}},"type":"object","required":["host_id","hostname","gpus"],"title":"HostHeartbeat"},"HostIntegrationGrantRequest":{"properties":{"allowed":{"type":"boolean","title":"Allowed"},"expected_revision":{"type":"string","maxLength":128,"minLength":1,"title":"Expected Revision"},"expected_host_token_id":{"type":"string","maxLength":128,"minLength":1,"title":"Expected Host Token Id"}},"type":"object","required":["allowed","expected_revision","expected_host_token_id"],"title":"HostIntegrationGrantRequest"},"HostTokenRequest":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label","default":"GPU host"}},"type":"object","title":"HostTokenRequest"},"InstallationClaim":{"properties":{"hostname":{"type":"string","maxLength":255,"minLength":1,"title":"Hostname"},"platform":{"type":"string","maxLength":40,"minLength":1,"title":"Platform"},"architecture":{"type":"string","maxLength":80,"minLength":1,"title":"Architecture"}},"type":"object","required":["hostname","platform","architecture"],"title":"InstallationClaim"},"InstallationComplete":{"properties":{"succeeded":{"type":"boolean","title":"Succeeded"},"error":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Error"}},"type":"object","required":["succeeded"],"title":"InstallationComplete"},"InstallationEvent":{"properties":{"level":{"type":"string","pattern":"^(info|warning|error)$","title":"Level","default":"info"},"message":{"type":"string","maxLength":1000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"InstallationEvent"},"InstallationProgress":{"properties":{"phase":{"type":"string","enum":["running","waiting_for_reboot"],"title":"Phase"}},"type":"object","required":["phase"],"title":"InstallationProgress"},"InstanceRequest":{"properties":{"template_id":{"anyOf":[{"type":"string","pattern":"^(?:pytorch|vllm|vast-[1-9][0-9]{0,9})$"},{"type":"null"}],"title":"Template Id"},"access":{"anyOf":[{"type":"string","pattern":"^(jupyter|ssh)$"},{"type":"null"}],"title":"Access"},"model":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Model"},"context_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Context Length"},"rental_hours":{"anyOf":[{"type":"integer","maximum":8760.0,"minimum":1.0},{"type":"null"}],"title":"Rental Hours"},"expected_terms_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":64},{"type":"null"}],"title":"Expected Terms Id"},"expected_storage_policy":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Expected Storage Policy"},"expected_storage_retention_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Storage Retention Seconds"},"storage_gb":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Storage Gb"},"storage_budget_usd":{"anyOf":[{"type":"number","maximum":10000.0,"minimum":0.01},{"type":"null"}],"title":"Storage Budget Usd"},"expected_transfer_policy":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Expected Transfer Policy"},"transfer_budget_usd":{"anyOf":[{"type":"number","maximum":10000.0,"minimum":0.01},{"type":"null"}],"title":"Transfer Budget Usd"},"offer_id":{"type":"string","maxLength":255,"minLength":1,"title":"Offer Id"},"expected_price_per_gpu_hour":{"anyOf":[{"type":"number","maximum":1050.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Expected Price Per Gpu Hour"},"expected_pricing_policy":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Expected Pricing Policy"},"image":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Image"},"rental_type":{"type":"string","pattern":"^(on-demand|reserved|interruptible)$","title":"Rental Type","default":"on-demand"},"ssh":{"type":"boolean","title":"Ssh","default":false},"ssh_public_key":{"anyOf":[{"type":"string","maxLength":16384},{"type":"null"}],"title":"Ssh Public Key"},"jupyter":{"type":"boolean","title":"Jupyter","default":false},"http_port":{"anyOf":[{"type":"integer","maximum":65535.0,"minimum":1.0},{"type":"null"}],"title":"Http Port"},"command":{"items":{"type":"string"},"type":"array","title":"Command"}},"type":"object","required":["offer_id"],"title":"InstanceRequest"},"KeyRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"expected_pricing_policy":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Expected Pricing Policy"},"billing_plan":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Billing Plan"}},"additionalProperties":false,"type":"object","required":["name"],"title":"KeyRequest"},"LeaderboardProfileRequest":{"properties":{"show_name":{"type":"boolean","title":"Show Name"},"display_name":{"type":"string","maxLength":32,"title":"Display Name","default":""}},"type":"object","required":["show_name"],"title":"LeaderboardProfileRequest"},"MachineSettingsRequest":{"properties":{"pricing_basis":{"anyOf":[{"type":"string","const":"provider"},{"type":"null"}],"title":"Pricing Basis"},"manual_storage_per_gb_month":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Manual Storage Per Gb Month"},"manual_upload_per_gb":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Manual Upload Per Gb"},"manual_download_per_gb":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Manual Download Per Gb"},"max_rental_hours":{"anyOf":[{"type":"integer","maximum":8760.0,"minimum":1.0},{"type":"null"}],"title":"Max Rental Hours"},"offer_expires_at":{"anyOf":[{"type":"integer","maximum":4102444800.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Offer Expires At"},"hosting_until":{"anyOf":[{"type":"integer","maximum":4102444800.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Hosting Until"},"pricing_mode":{"type":"string","pattern":"^(manual|autopilot)$","title":"Pricing Mode","default":"autopilot"},"manual_price_per_gpu_hour":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":1e-06},{"type":"null"}],"title":"Manual Price Per Gpu Hour"},"autopilot_discount_percent":{"type":"number","maximum":50.0,"minimum":0.0,"title":"Autopilot Discount Percent","default":10}},"type":"object","title":"MachineSettingsRequest"},"MagicLinkRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"return_to":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Return To","default":"/app"},"challenge_token":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Challenge Token"}},"type":"object","required":["email"],"title":"MagicLinkRequest"},"MagicLinkVerifyRequest":{"properties":{"token":{"type":"string","maxLength":256,"minLength":32,"title":"Token"}},"type":"object","required":["token"],"title":"MagicLinkVerifyRequest"},"NotificationSettingsRequest":{"properties":{"gpu_available":{"type":"boolean","title":"Gpu Available","default":false},"rental_finished":{"type":"boolean","title":"Rental Finished","default":false},"gpu_model":{"type":"string","maxLength":100,"title":"Gpu Model","default":""},"min_vram_gb":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Min Vram Gb","default":0},"max_price_per_hour":{"anyOf":[{"type":"number","maximum":1050.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Price Per Hour"},"availability_interval_hours":{"type":"integer","enum":[1,6,24],"title":"Availability Interval Hours","default":1}},"type":"object","title":"NotificationSettingsRequest"},"PortTunnelRequest":{"properties":{"target_url":{"type":"string","maxLength":120,"minLength":1,"title":"Target Url"}},"type":"object","required":["target_url"],"title":"PortTunnelRequest"},"ProviderOnboardingRequest":{"properties":{"country":{"type":"string","maxLength":2,"minLength":2,"pattern":"^[A-Z]{2}$","title":"Country"}},"type":"object","required":["country"],"title":"ProviderOnboardingRequest"},"QuoteRequest":{"properties":{"model_id":{"type":"string","maxLength":200,"title":"Model Id"},"rental_hours":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Rental Hours","default":1},"context_length":{"type":"integer","title":"Context Length","default":4096},"storage_budget_usd":{"type":"number","maximum":10000.0,"minimum":0.01,"title":"Storage Budget Usd","default":5},"transfer_budget_usd":{"type":"number","maximum":10000.0,"minimum":0.01,"title":"Transfer Budget Usd","default":5}},"type":"object","required":["model_id"],"title":"QuoteRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}