1{"responses":{"200":{"description":"List of workers in JSON format","content":{"application/json":{"schema":{"type":"object","description":"Response wrapper for the `/v1/workers` endpoint.","required":["object","data"],"properties":{"data":{"type":"array","items":{"type":"object","description":"Worker information returned in the `/v1/workers` response.","required":["name","is_llm"],"properties":{"description":{"type":["string","null"],"description":"A description of what the worker does"},"is_llm":{"type":"boolean","description":"Whether this worker can be used as an LLM model"},"name":{"type":"string","description":"The name of the worker"},"status":{"oneOf":[{"type":"null"},{"description":"The status of the worker (e.g., `Ready`, `Initializing`, `Error`)","oneOf":[{"type":"string","description":"The component is initializing and not yet ready","enum":["Initializing"]},{"type":"string","description":"The component is ready to accept connections","enum":["Ready"]},{"type":"string","description":"The component is disabled and not running","enum":["Disabled"]},{"type":"object","description":"An error occurred in the component, with an optional error message","required":["Error"],"properties":{"Error":{"type":["string","null"],"description":"An error occurred in the component, with an optional error message"}}},{"type":"string","description":"The component is in the process of refreshing its state","enum":["Refreshing"]},{"type":"string","description":"The component is in the process of shutting down","enum":["ShuttingDown"]}],"example":"Ready","title":"String"}]}},"title":"WorkerInfo"},"description":"The list of workers"},"object":{"type":"string","description":"The type of the response (always `list`)"}},"title":"WorkerListResponse"},"example":{"object":"list","data":[{"name":"round-robin","description":"Distributes requests between foo and bar models in a round-robin fashion.\n","is_llm":true},{"name":"fallback","description":"Attempts bar first, then foo, then baz if previous models fail.\n","is_llm":true}]}},"text/csv":{"schema":{"type":"string"},"example":"\nname,description,type,is_llm\nround-robin,\"Distributes requests between foo and bar models in a round-robin fashion.\",load_balance,true\nfallback,\"Attempts bar first, then foo, then baz if previous models fail.\",load_balance,true\n"}}},"500":{"description":"Internal server error occurred while processing workers","content":{"application/json":{"schema":{},"example":{"error":"App not initialized"}}}}}}
1{"responses":{"200":{"description":"List of workers in JSON format","content":{"application/json":{"schema":{"type":"object","description":"Response wrapper for the `/v1/workers` endpoint.","required":["object","data"],"properties":{"data":{"type":"array","items":{"type":"object","description":"Worker information returned in the `/v1/workers` response.","required":["name","is_llm"],"properties":{"description":{"type":["string","null"],"description":"A description of what the worker does"},"is_llm":{"type":"boolean","description":"Whether this worker can be used as an LLM model"},"name":{"type":"string","description":"The name of the worker"},"status":{"oneOf":[{"type":"null"},{"description":"The status of the worker (e.g., `Ready`, `Initializing`, `Error`)","oneOf":[{"type":"string","description":"The component is initializing and not yet ready","enum":["Initializing"]},{"type":"string","description":"The component is ready to accept connections","enum":["Ready"]},{"type":"string","description":"The component is disabled and not running","enum":["Disabled"]},{"type":"object","description":"An error occurred in the component, with an optional error message","required":["Error"],"properties":{"Error":{"type":["string","null"],"description":"An error occurred in the component, with an optional error message"}}},{"type":"string","description":"The component is in the process of refreshing its state","enum":["Refreshing"]},{"type":"string","description":"The component is in the process of shutting down","enum":["ShuttingDown"]}],"example":"Ready","title":"String"}]}},"title":"WorkerInfo"},"description":"The list of workers"},"object":{"type":"string","description":"The type of the response (always `list`)"}},"title":"WorkerListResponse"},"example":{"object":"list","data":[{"name":"round-robin","description":"Distributes requests between foo and bar models in a round-robin fashion.\n","is_llm":true},{"name":"fallback","description":"Attempts bar first, then foo, then baz if previous models fail.\n","is_llm":true}]}},"text/csv":{"schema":{"type":"string"},"example":"\nname,description,type,is_llm\nround-robin,\"Distributes requests between foo and bar models in a round-robin fashion.\",load_balance,true\nfallback,\"Attempts bar first, then foo, then baz if previous models fail.\",load_balance,true\n"}}},"500":{"description":"Internal server error occurred while processing workers","content":{"application/json":{"schema":{},"example":{"error":"App not initialized"}}}}}}
