{"id":20682702,"url":"https://github.com/govcraft/mistral-rouille","last_synced_at":"2026-02-23T02:36:48.144Z","repository":{"id":244617315,"uuid":"815736170","full_name":"Govcraft/mistral-rouille","owner":"Govcraft","description":"Mistral Client generated from Mistral's OpenAPI spec.","archived":false,"fork":false,"pushed_at":"2024-06-16T06:03:18.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-29T01:32:18.343Z","etag":null,"topics":["ai","codestral","http-client","mistralai","openapi","openapi-codegen","openapi-generator","reqwest","rust","rust-crate","rust-lang"],"latest_commit_sha":null,"homepage":"https://www.govcraft.ai","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Govcraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-16T01:54:25.000Z","updated_at":"2024-06-16T06:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"00ba6144-1820-4a96-9c73-fb1d34a9513d","html_url":"https://github.com/Govcraft/mistral-rouille","commit_stats":null,"previous_names":["govcraft/mistral-rouille"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Govcraft/mistral-rouille","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Govcraft%2Fmistral-rouille","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Govcraft%2Fmistral-rouille/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Govcraft%2Fmistral-rouille/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Govcraft%2Fmistral-rouille/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Govcraft","download_url":"https://codeload.github.com/Govcraft/mistral-rouille/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Govcraft%2Fmistral-rouille/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29735759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T02:24:00.660Z","status":"ssl_error","status_checked_at":"2026-02-23T02:22:56.087Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","codestral","http-client","mistralai","openapi","openapi-codegen","openapi-generator","reqwest","rust","rust-crate","rust-lang"],"created_at":"2024-11-16T22:14:21.557Z","updated_at":"2026-02-23T02:36:48.130Z","avatar_url":"https://github.com/Govcraft.png","language":"Rust","funding_links":["https://github.com/sponsors/Govcraft"],"categories":[],"sub_categories":[],"readme":"# Mistral Rouille\nMistral Rouille is a Rust crate customized from Mistral's official OpenAPI specification. This crate provides a convenient and type-safe interface for interacting with Mistral's API, using the Reqwest crate for HTTP requests. Designed to be easily integrated into your Rust projects, Mistral Rouille offers robust functionality for all Mistral API endpoints, ensuring seamless communication with the configured endpoint.\n\n## Overview\n\nThis API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project and then refined with custom templates by [Govcraft](https://www.govcraft.ai). This crate will be regenerated and updated as Mistral updates it's OpenAPI specification. Additional customizations are planned.\n\n- API version: 0.0.2\n- Crate version: 1.1.4\n- Build date: 2024-06-15T23:59:31.144857-06:00[America/Mexico_City]\n- Generator version: 7.6.0\n- Build package: `org.openapitools.codegen.languages.RustClientCodegen`\n\nEither run:\n```shell\ncargo add mistral-rouille\n```\nor add to Cargo.toml\n```toml\nmistral-rouille = \"1.1.4\"\n```\n## Examples\nView the tests folder for a basic example executing a chat request on Mistral's newest model Codestral.\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.mistral.ai/v1* or *https://codestral.mistral.ai/v1* if you're using Codestral\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DefaultApi* | [**create_chat_completion**](docs/DefaultApi.md#create_chat_completion) | **POST** /chat/completions | Create Chat Completions\n*DefaultApi* | [**create_embedding**](docs/DefaultApi.md#create_embedding) | **POST** /embeddings | Create Embeddings\n*DefaultApi* | [**create_fim_completion**](docs/DefaultApi.md#create_fim_completion) | **POST** /fim/completions | Create FIM Completions\n*DefaultApi* | [**files_api_routes_delete_file**](docs/DefaultApi.md#files_api_routes_delete_file) | **DELETE** /files/{file_id} | Delete File\n*DefaultApi* | [**files_api_routes_list_files**](docs/DefaultApi.md#files_api_routes_list_files) | **GET** /files | List Files\n*DefaultApi* | [**files_api_routes_retrieve_file**](docs/DefaultApi.md#files_api_routes_retrieve_file) | **GET** /files/{file_id} | Retrieve File\n*DefaultApi* | [**files_api_routes_upload_file**](docs/DefaultApi.md#files_api_routes_upload_file) | **POST** /files | Upload File\n*DefaultApi* | [**jobs_api_routes_fine_tuning_cancel_fine_tuning_job**](docs/DefaultApi.md#jobs_api_routes_fine_tuning_cancel_fine_tuning_job) | **POST** /fine_tuning/jobs/{job_id}/cancel | Cancel Fine Tuning Job\n*DefaultApi* | [**jobs_api_routes_fine_tuning_create_fine_tuning_job**](docs/DefaultApi.md#jobs_api_routes_fine_tuning_create_fine_tuning_job) | **POST** /fine_tuning/jobs | Create Fine Tuning Job\n*DefaultApi* | [**jobs_api_routes_fine_tuning_get_fine_tuning_job**](docs/DefaultApi.md#jobs_api_routes_fine_tuning_get_fine_tuning_job) | **GET** /fine_tuning/jobs/{job_id} | Get Fine Tuning Job\n*DefaultApi* | [**jobs_api_routes_fine_tuning_get_fine_tuning_jobs**](docs/DefaultApi.md#jobs_api_routes_fine_tuning_get_fine_tuning_jobs) | **GET** /fine_tuning/jobs | List Fine Tuning Jobs\n*DefaultApi* | [**list_models**](docs/DefaultApi.md#list_models) | **GET** /models | List Available Models\n\n\n## Documentation For Models\n\n - [ChatChoices](docs/ChatChoices.md)\n - [ChatCompletionRequest](docs/ChatCompletionRequest.md)\n - [ChatCompletionRequestFunctionCall](docs/ChatCompletionRequestFunctionCall.md)\n - [ChatCompletionRequestFunctionCallToolsInner](docs/ChatCompletionRequestFunctionCallToolsInner.md)\n - [ChatCompletionRequestJsonMode](docs/ChatCompletionRequestJsonMode.md)\n - [ChatCompletionResponse](docs/ChatCompletionResponse.md)\n - [ChatCompletionResponseFunctionCall](docs/ChatCompletionResponseFunctionCall.md)\n - [ChatCompletionResponseJsonMode](docs/ChatCompletionResponseJsonMode.md)\n - [ChatCompletionResponseJsonModeChoicesInner](docs/ChatCompletionResponseJsonModeChoicesInner.md)\n - [ChatFnMessages](docs/ChatFnMessages.md)\n - [ChatFnTools](docs/ChatFnTools.md)\n - [ChatMessage](docs/ChatMessage.md)\n - [ChatMessages](docs/ChatMessages.md)\n - [ChatRequest](docs/ChatRequest.md)\n - [ChatResponse](docs/ChatResponse.md)\n - [ChatResponseFnTool](docs/ChatResponseFnTool.md)\n - [ChatUsage](docs/ChatUsage.md)\n - [CheckpointOut](docs/CheckpointOut.md)\n - [Choices](docs/Choices.md)\n - [DeleteFileOut](docs/DeleteFileOut.md)\n - [DeleteFileResponse](docs/DeleteFileResponse.md)\n - [DetailedJobOut](docs/DetailedJobOut.md)\n - [EmbeddingData](docs/EmbeddingData.md)\n - [EmbeddingRequest](docs/EmbeddingRequest.md)\n - [EmbeddingResponse](docs/EmbeddingResponse.md)\n - [EmbeddingUsage](docs/EmbeddingUsage.md)\n - [Error](docs/Error.md)\n - [ErrorResponse](docs/ErrorResponse.md)\n - [EventOut](docs/EventOut.md)\n - [FileSchema](docs/FileSchema.md)\n - [FimChoices](docs/FimChoices.md)\n - [FimCompletionRequest](docs/FimCompletionRequest.md)\n - [FimCompletionResponse](docs/FimCompletionResponse.md)\n - [FimMessages](docs/FimMessages.md)\n - [FimStop](docs/FimStop.md)\n - [FimUsage](docs/FimUsage.md)\n - [FineTuneableModel](docs/FineTuneableModel.md)\n - [FineTuningJobResponse](docs/FineTuningJobResponse.md)\n - [JobIn](docs/JobIn.md)\n - [JobMetadata](docs/JobMetadata.md)\n - [JobOut](docs/JobOut.md)\n - [JobsOut](docs/JobsOut.md)\n - [JsonModeMessages](docs/JsonModeMessages.md)\n - [JsonModeResponseFormat](docs/JsonModeResponseFormat.md)\n - [JsonModeUsage](docs/JsonModeUsage.md)\n - [ListFilesOut](docs/ListFilesOut.md)\n - [ListFilesResponse](docs/ListFilesResponse.md)\n - [Message](docs/Message.md)\n - [MetricOut](docs/MetricOut.md)\n - [Model](docs/Model.md)\n - [ModelList](docs/ModelList.md)\n - [RetrieveFileOut](docs/RetrieveFileOut.md)\n - [RetrieveFileResponse](docs/RetrieveFileResponse.md)\n - [ToolsFn](docs/ToolsFn.md)\n - [TrainingParameters](docs/TrainingParameters.md)\n - [UploadFileOut](docs/UploadFileOut.md)\n - [UploadFileResponse](docs/UploadFileResponse.md)\n - [Usage](docs/Usage.md)\n - [WandbIntegration](docs/WandbIntegration.md)\n - [WandbIntegrationOut](docs/WandbIntegrationOut.md)\n\n\nTo get access to the crate's generated documentation, use:\n\n```\ncargo doc --open\n```\n\n## Author\n\nroland@govcraft.ai\n\n## Sponsor\n\nGovcraft is a one-person shop—no corporate backing, no investors, just me building useful tools. If this project helps you, [sponsoring](https://github.com/sponsors/Govcraft) keeps the work going.\n\n[![Sponsor on GitHub](https://img.shields.io/badge/Sponsor-%E2%9D%A4-%23db61a2?logo=GitHub)](https://github.com/sponsors/Govcraft)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgovcraft%2Fmistral-rouille","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgovcraft%2Fmistral-rouille","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgovcraft%2Fmistral-rouille/lists"}