# Source: https://docs.groq.com/docs/api-reference#responses-streaming

# Source: https://docs.groq.com/docs/api-reference#responses-create

# Source: https://docs.groq.com/docs/api-reference#files-upload

# Source: https://docs.groq.com/docs/api-reference#chat-create

# Source: https://docs.groq.com/docs/api-reference#files-upload

# Source: https://docs.groq.com/docs/api-reference#batches

# Overview - GroqDocs

## Welcome

Fast LLM inference, OpenAI-compatible. Simple to integrate, easy to scale. Start building in minutes.

## External API Compatibility

- **gemma2-9b-it**
- **llama3-8b-8192**
- **llama3-70b-8192**
- **whisper-large-v3-turbo**
- **whisper-large-v3**
- **llama-guard-3-8b**
- **distil-whisper-large-v3-en**

## Chat Completion

- **Fast language models have gained significant attention in recent years due to their ability to process and generate human-like text quickly and efficiently. The importance of fast language models can be understood from their potential applications and benefits:**
  1. **Real-time Chatbots and Conversational Interfaces**: Fast language models enable the development of chatbots and conversational interfaces that can respond promptly to user queries, making them more engaging and useful.
  2. **Sentiment Analysis and Opinion Mining**: Fast language models can quickly analyze text data to identify sentiments, opinions, and emotions, allowing for improved customer service, market research, and opinion mining.
  3. **Language Translation and Localization**: Fast language models can quickly translate text between languages, facilitating global communication and enabling businesses to reach a broader audience.
  4. **Text Summarization and Generation**: Fast language models can summarize long documents or even generate new text on a given topic, improving information retrieval and processing efficiency.
  5. **Named Entity Recognition and Information Extraction**: Fast language models can rapidly recognize and extract specific entities, such as names, locations, and organizations, from unstructured text data.
  6. **Recommendation Systems**: Fast language models can analyze large amounts of text data to personalize product recommendations, improve customer experience, and increase sales.
  7. **Content Generation for Social Media**: Fast language models can quickly generate engaging content for social media platforms, helping businesses maintain a consistent online presence and increasing their online visibility.
  8. **Sentiment Analysis for Stock Market Analysis**: Fast language models can quickly analyze social media posts, news articles, and other text data to identify sentiment trends, enabling financial analysts to make more informed investment decisions.
  9. **Language Learning and Education**: Fast language models can provide instant feedback and adaptive language learning, making language education more effective and engaging.
  10. **Domain-Specific Knowledge Extraction**: Fast language models can quickly extract relevant information from vast amounts of text data, enabling domain experts to focus on high-level decision-making rather than manual information gathering.

The benefits of fast language models include:
- **Increased Efficiency**: Fast language models can process large amounts of text data quickly, reducing the time and effort required for tasks such as sentiment analysis, entity recognition, and text summarization.
- **Improved Accuracy**: Fast language models can analyze and learn from large datasets, leading to more accurate results and more informed decision-making.
- **Enhanced User Experience**: Fast language models can enable real-time interactions, personalized recommendations, and timely responses, improving the overall user experience.
- **Cost Savings**: Fast language models can automate many tasks, reducing the need for manual labor and minimizing costs associated with data processing and analysis.

In summary, fast language models have the potential to transform various industries and applications by providing fast, accurate, and efficient language processing capabilities.

## Chat Completion Request

- **Description**: A document that can be referenced by the model while generating responses.
- **Properties**:
  - **id**: Optional unique identifier that can be used for citations in responses.
  - **source**: Document containing the text content.

## Chat Completion Response

- **Description**: A chat completion message generated by the model.
- **Properties**:
  - **annotations**: A list of annotations providing citations and references for the content in the message.
  - **content**: The contents of the message.
  - **executed_tools**: Information about the tools that were executed during the chat completion for compound AI systems.
  - **function_call**: Controls which (if any) function is called by the model.
  - **reasoning**: The model's reasoning for a response. Only available for [models that support reasoning](https://console.groq.com/docs/reasoning) when request parameter reasoning_format has value `parsed`.
  - **role**: The role of the messages author, in this case `assistant`.
  - **tool_calls**: The tool calls generated by the model, such as function calls.

## Chat Completion Role

- **Description**: The role of the author of a message.
- **Values**:
  - `system`
  - `user`
  - `assistant`
  - `tool`
  - `developer`

## Chat Completion Stream

- **Description**: A chat completion delta generated by streamed model responses.
- **Properties**:
  - **annotations**: A list of annotations providing citations and references for the content in the message.
  - **content**: The contents of the chunk message.
  - **executed_tools**: Information about the tools that were executed during the chunk.
  - **reasoning**: The model's reasoning for a response. Only available for [models that support reasoning](https://console.groq.com/docs/reasoning) when request parameter reasoning_format has value `parsed`.
  - **role**: The role of the author of this message.
  - **tool_calls**: The tools that were available to the model.

## Chat Completion Token Logprob

- **Description**: A list of tokens with log probability information.
- **Properties**:
  - **bytes**: A list of integers representing the UTF-8 bytes representation of the token.
  - **logprob**: The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely.

## Chat Completion Tool

- **Description**: Describes a tool that the model may generate JSON inputs for.
- **Properties**:
  - **name**: The name of the function to be called.
  - **parameters**: A JSON schema describing the function's input parameters.

## Chat Completion Response Message

- **Description**: A message input to the model with a role indicating instruction following hierarchy.
- **Properties**:
  - **content**: A list of one or many input content items.
  - **role**: The role of the message input.
  - **status**: The status of the message.
  - **type**: The type of the message input.

## Chat Completion Response FileCitation

- **Description**: A citation to a file.
- **Properties**:
  - **file_id**: The ID of the file.
  - **index**: The index of the citation in the text.
  - **type**: The type of the annotation. Always `file_citation`.
  - **url**: The URL of the file.

## Chat Completion Response TextCitation

- **Description**: A citation for a web resource.
- **Properties**:
  - **end_index**: The character index in the URL citation in the message.
  - **start_index**: The character index in the URL citation in the message.
  - **title**: The title of the web resource.
  - **type**: The type of the annotation. Always `url_citation`.
  - **url**: The URL of the web resource.

## Chat Completion Usage Breakdown

- **Description**: Usage statistics for compound AI completion requests.
- **Properties**:
  - **models**: List of models used in the request and their individual usage statistics.
  - **type**: The type of the response format being defined. Always `list`.

## Chat Completion StreamResponseDelta

- **Description**: A chat completion delta generated by streamed model responses.
- **Properties**:
  - **annotations**: A list of annotations providing citations and references for the content in the message.
  - **content**: The contents of the chunk message.
  - **executed_tools**: Information about the tools that were executed during the chunk.
  - **reasoning**: The model's reasoning for a response. Only available for [models that support reasoning](https://console.groq.com/docs/reasoning) when request parameter reasoning_format has value `parsed`.
  - **role**: The role of the author of this message.
  - **tool_calls**: The tools that were available to the model.

## Chat Completion Response Message

- **Description**: A message input to the model with explicit type field.
- **Properties**:
  - **content**: A list of one or many input content items.
  - **role**: The role of the message input.
  - **status**: The status of item. Populated when items are returned via API.
  - **type**: The type of the message input. Always set to `message`.

## Chat Completion Response TextContent

- **Description**: A text input to the model.
- **Properties**:
  - **text**: The text input to the model.
  - **type**: The type of the input item. Always `input_text`.

## Chat Completion Response FileContent

- **Description**: A file input to the model.
- **Properties**:
  - **bytes**: The size of the file, in bytes.
  - **created_at**: The Unix timestamp (in seconds) for when the file was created.
  - **filename**: The name of the file.
  - **id**: The file identifier, which can be referenced in the API endpoints.
  - **object**: The object type, which is always `file`.
  - **purpose**: The intended purpose of the file. Supported values are `batch` and `batch_output`.

## Chat Completion Response JsonSchema

- **Description**: JSON schema response format. Used to generate structured JSON responses.
- **Properties**:
  - **type**: The type of response format being defined. Always `json_object`.
  - **schema**: The schema for the response format, described as a JSON Schema object.
  - **strict**: Whether to enable strict schema adherence when generating the output. Only a subset of JSON Schema is supported when `strict` is `true`.

## Chat Completion Response TextContent

- **Description**: A text output from the model.
- **Properties**:
  - **annotations**: The annotations of the text output.
  - **logprobs**: Log probability information for the output.
  - **text**: The text output from the model.
  - **type**: The type of the output text. Always `output_text`.

## Chat Completion Response FunctionCall

- **Description**: A function call generated by the model.
- **Properties**:
  - **arguments**: A JSON string of the arguments to pass to the function.
  - **call_id**: The unique ID of the function tool call generated by the model.
  - **id**: The unique ID of the function tool call.
  - **name**: The name of the function to call.
  - **status**: The status of the item. Populated when items are returned via API.

## Chat Completion Response FunctionCallOutput

- **Description**: The output of a function tool call.
- **Properties**:
  - **call_id**: The unique ID of the function tool call generated by the model.
  - **id**: The unique ID of the function tool call output.
  - **output**: A JSON string of the output of the function tool call.
  - **status**: The status of the item. Populated when items are returned via API.

## Chat Completion Response EasyInputMessage

- **Description**: A message input to the model with a role indicating instruction following hierarchy.
- **Properties**:
  - **content**: A list of one or many input content items.
  - **role**: The role of the message input.
  - **status**: The status of item. Populated when items are returned via API.
  - **type**: The type of the message input. Always set to `message`.

## Chat Completion Response FileCitation

- **Description**: A citation to a file.
- **Properties**:
  - **end_index**: The character index in the URL citation in the message.
  - **start_index**: The character index in the URL citation in the message.
  - **title**: The title of the file.
  - **type**: The type of the annotation. Always `file_citation`.
  - **url**: The URL of the file.

## Chat Completion Response Usage

- **Description**: Usage statistics for the response request.
- **Properties**:
  - **input_tokens**: Number of tokens in the input.
  - **input_tokens_details**: Breakdown of input tokens.
  - **output_tokens**: Number of tokens in the generated output.
  - **output_tokens_details**: Breakdown of output tokens.
  - **total_tokens**: Total number of tokens used in the request (input + output).

## Text Response Format JsonSchema

- **Description**: JSON Schema response format. Used to generate structured JSON responses.
- **Properties**:
  - **description**: A description of what the response format is for, used by the model to determine how to respond in the format.
  - **name**: The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
  - **schema**: The schema for the response format, described as a JSON Schema object.
  - **strict**: Whether to enable strict schema adherence when generating the output. Only a subset of JSON Schema is supported when `strict` is `true`.

## TranscriptionSegment

- **Description**: A segment of the transcribed text.
- **Properties**:
  - **audio_text**: Transcribed text for the entire chunk.
  - **avg_logprob**: Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.
  - **chunk_end**: End chunk timestamp.
  - **chunk_start**: Start chunk timestamp.
  - **compression_ratio**: Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.
  - **end**: End time of the segment in seconds.
  - **id**: Unique identifier of the segment.
  - **no_speech_prob**: Probability of no speech in the segment. If the value is higher than 1.0 and the `avg_logprob` is below -1, consider this segment silent.
  - **seek**: Seek offset of the segment.
  - **start**: Start time of the segment in seconds.
  - **temperature**: Temperature parameter used for generating the segment.
  - **text**: Text content of the segment.
  - **token_scores**: Token-level scores.
  - **tokens**: Array of token IDs for the text content.

## XGroq

- **Description**: Groq-specific metadata for streaming responses.
- **Properties**:
  - **debug**: An array of debug data.
  - **error**: An error string indicating why a stream was stopped early.
  - **id**: A groq request ID which can be used to refer to a specific request to groq support.
  - **seed**: The seed used for the request. See the seed property on CreateChatCompletionRequest for more details.
  - **usage**: Additional Groq-specific usage metrics (hardware cache statistics).

## XGroqNonStreaming

- **Description**: Groq-specific metadata for non-streaming chat completion responses.
- **Properties**:
  - **debug**: An array of debug data.
  - **id**: A groq request ID which can be used to refer to a specific request to groq support.
  - **seed**: The seed used for the request. See the seed property on CreateChatCompletionRequest for more details.
  - **usage**: Additional Groq-specific usage metrics (hardware cache statistics).

## GroqCloud API Specification

- **Contact**: Support
- **Description**: Specification of the Groq cloud API
- **Terms of Service**: https://groq.com/terms-of-use/
- **Title**: GroqCloud API
- **Version**: 2.1

## Groq Support

- **Email**: support@groq.com
- **Name**: Groq Support

## Groq API Endpoint

- **URL**: https://api.groq.com

## Groq API Request Example

- **curl**: curl https://api.groq.com/openai/v1/audio/speech -H "Authorization: Bearer $GROQ_API_KEY" -H "Content-Type: application/json" -d '{ "model": "playai-tts", "input": "I love building and shipping new features for our users!", "voice": "Fritz-PlayAI", "response_format": "wav" }'

- **js**: import fs from "fs"; import path from "path"; import Groq from 'groq-sdk'; const groq = new Groq({ apiKey: process.env.GROQ_API_KEY }); const speechFilePath = "speech.wav"; const model = "playai-tts"; const voice = "Fritz-PlayAI"; const text = "I love building and shipping new features for our users!"; const responseFormat = "wav"; async function main() { const response = await groq.audio.speech.create({ model: model, voice: voice, input: text, response_format: responseFormat }); const buffer = Buffer.from(await response.arrayBuffer()); await fs.promises.writeFile(speechFilePath, buffer); } main();

- **py**: import os from groq import Groq client = Groq(api_key=os.environ.get("GROQ_API_KEY")) speech_file_path = "speech.wav" model = "playai-tts" voice = "Fritz-PlayAI" text = "I love building and shipping new features for our users!" response_format = "wav" response = client.audio.speech.create( model=model, voice=voice, input=text, response_format=response_format ) response.write_to_file(speech_file_path)

## Groq API Response Example

- **response**: { "text": "Your transcribed text appears here...", "x_groq": { "id": "req_unique_id" } }

## Groq API Response Format

- **JSON Schema**: JSON Schema response format. Used to generate structured JSON responses.
- **Properties**: { "type": "object", "properties": { "description": { "type": "string", "description": "A description of what the response format is for, used by the model to determine how to respond in the format." }, "name": { "type": "string", "description": "The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64." }, "schema": { "type": "object", "description": "The schema for the response format, described as a JSON Schema object." }, "strict": { "type": "boolean", "description": "Whether to enable strict schema adherence when generating the output." } } }

## Groq API Response Format Text

- **Description**: A text output from the model.
- **Properties**: { "annotations": { "type": "array", "items": { "type": "string" } }, "logprobs": { "type": "array", "items": { "type": "string" } }, "text": { "type": "string" }, "type": { "type": "string", "description": "The type of the output text. Always `output_text`." } }

## Groq API Response Format TextContent

- **Description**: A text input to the model.
- **Properties**: { "text": { "type": "string" }, "type": { "type": "string", "description": "The type of the input item. Always `input_text`." } }

## Groq API Response FileContent

- **Description**: A file input to the model.
- **Properties**: { "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileCitation

- **Description**: A citation to a file.
- **Properties**: { "end_index": { "type": "integer" }, "start_index": { "type": "integer" }, "title": { "type": "string" }, "type": { "type": "string", "description": "The type of the annotation. Always `file_citation`." }, "url": { "type": "string" } }

## Groq API Response Usage Breakdown

- **Description**: Usage statistics for the response request.
- **Properties**: { "input_tokens": { "type": "integer" }, "input_tokens_details": { "type": "object", "properties": { "cached_tokens": { "type": "integer" }, "reasoning_tokens": { "type": "integer" } } }, "output_tokens": { "type": "integer" }, "output_tokens_details": { "type": "object", "properties": { "cached_tokens": { "type": "integer" }, "reasoning_tokens": { "type": "integer" } } }, "total_tokens": { "type": "integer" } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at": { "type": "integer" }, "filename": { "type": "string" }, "purpose": { "type": "string", "description": "The purpose of the file." } }

## Groq API Response FileContent

- **Description**: A file object.
- **Properties**: { "id": { "type": "string" }, "object": { "type": "string", "description": "The object type, which is always `file`." }, "bytes": { "type": "integer" }, "created_at