Flyte’s gRPC AdminService, REST gateway, and FlyteIDL Protobuf schema — how to connect and make your first API call.
Flyte exposes a single, unified API surface through FlyteAdmin. All control-plane operations — registering tasks and workflows, launching executions, querying status — go through this API.
AdminService
Full RPC reference for workflow, task, execution, and project management.
WorkflowSpec
WorkflowTemplate, Node, BranchNode, and compiled closure messages.
TaskSpec
TaskTemplate, Container, Resources, and RuntimeMetadata messages.
FlyteIDL (Interface Definition Language) is the single source of truth for every message and service in Flyte. All SDKs and components communicate through these protobuf types.
gRPC status codes map to HTTP status codes via the grpc-gateway standard:
gRPC Status
HTTP Status
Meaning
OK
200
Success
INVALID_ARGUMENT
400
Bad request / validation failure
ALREADY_EXISTS
409
Entity already registered at this version
NOT_FOUND
404
Requested entity does not exist
UNAUTHENTICATED
401
Missing or invalid credentials
PERMISSION_DENIED
403
Insufficient permissions
INTERNAL
500
Server-side error
When a 409 ALREADY_EXISTS is returned during registration, this is expected behavior — Flyte treats workflow and task versions as immutable. Re-registering the same version is a no-op that returns the conflict code.