# Petal Cite Documentation ## Docs - [Credentials](https://docs.petal.org/intro/credentials.md): Retrieve your authorization credentials to access the API - [Introduction](https://docs.petal.org/intro/introduction.md): Welcome to the Petal API documentation - [Create a chat message](https://docs.petal.org/openapi/ai_chat/create_qa.md): Create a new message in a given AI Session - [Create an AI chat Session](https://docs.petal.org/openapi/ai_chat/create_session.md): Create an AI Chat session - [Delete a chat message](https://docs.petal.org/openapi/ai_chat/delete_qa.md): Delete a single AI chat message by ID - [Delete an AI chat Session](https://docs.petal.org/openapi/ai_chat/delete_session.md): Permanently delete an AI Session and all its chat messages - [Get an AI chat Session](https://docs.petal.org/openapi/ai_chat/get_session.md): Fetch detailed information on a single AI Session by its unique ID - [List chat messages in a Session](https://docs.petal.org/openapi/ai_chat/list_qa.md): List all chat messages in an AI Session - [List AI Chat Sessions](https://docs.petal.org/openapi/ai_chat/list_session.md): List Sessions based on Document (single-doc) or Organization (multi-doc). Provide both Organization and Document IDs to fetch all single-doc Sessions for that particular Document, and provide only the Organization ID for all multi-doc Sessions in the Organization - [Reset an AI chat Session](https://docs.petal.org/openapi/ai_chat/reset_session.md): Reset an AI Session by deleting all existing chat messages in it, restoring it to a blank slate - [Update an AI Chat Session](https://docs.petal.org/openapi/ai_chat/update_session.md): Change visibility or Document list of AI Session - [Create cell without AI](https://docs.petal.org/openapi/ai_table/create_cell.md): Create a cell within an AI table, without invoking the AI to generate any response. Cell contents will still be embedded to be used as context for AI chat, if needed - [Create an AI Table column](https://docs.petal.org/openapi/ai_table/create_column.md): Create a column within the given AI Table - [Create an AI Table](https://docs.petal.org/openapi/ai_table/create_table.md): Create an AI Table - [Delete an AI Table column](https://docs.petal.org/openapi/ai_table/delete_column.md): Delete an AI Table column, and all its associated cells - [Delete an AI Table](https://docs.petal.org/openapi/ai_table/delete_table.md): Permanently delete an AI Table, including all its columns and cells - [Get an AI Table column](https://docs.petal.org/openapi/ai_table/get_column.md): Provides detailed information on the AI Table column with the given ID - [Get an AI Table](https://docs.petal.org/openapi/ai_table/get_table.md): Get detailed information of an AI Table by ID - [List all columns in an AI Table](https://docs.petal.org/openapi/ai_table/list_columns.md): List all columns in an AI Table - [List all cells in a row](https://docs.petal.org/openapi/ai_table/list_row_cells.md): Since each row of an AI Table corresponds to a specific Document, this endpoint simply lists all cells match the provided Document ID - [List all cells in an AI Table](https://docs.petal.org/openapi/ai_table/list_table_cells.md): List all cells in an AI Table - [List AI Tables](https://docs.petal.org/openapi/ai_table/list_tables.md): List detailed information of all AI Tables in a given Organization - [Create cells and run AI](https://docs.petal.org/openapi/ai_table/run_cells.md): Create cells for the given column-Document pairs if cells do not already exist, and invoke the AI to generate responses for them - [Run AI on all cells in a column](https://docs.petal.org/openapi/ai_table/run_column.md): Invokes the AI on all cells (Documents) within a column. If a cell does not already exist, a new one will be created. Existing cells' responses will be overwritten - [Run AI on all cells in a row](https://docs.petal.org/openapi/ai_table/run_row.md): Invokes the AI on all cells (Documents) within a column. If a cell does not already exist, a new one will be created. Existing cells' responses will be overwritten - [Update cell without AI](https://docs.petal.org/openapi/ai_table/update_cell.md): Change the contents of an AI cell manually, without invoking the AI on it. The user-submitted content is still embedded for AI chat context purposes - [Update an AI Table column](https://docs.petal.org/openapi/ai_table/update_column.md): Update the name or query associated with a column. Does not automatically update the cells if a new query is provided - [Update an AI Table](https://docs.petal.org/openapi/ai_table/update_table.md): Change visibility or Document list of AI Table - [Obtain authorization information](https://docs.petal.org/openapi/auth/auth.md): Provides the access tokens for user log in, as well as other identifying information - [List Workspaces](https://docs.petal.org/openapi/auth/list_orgs.md): List all Organizations a given user is part of - [Create a Document](https://docs.petal.org/openapi/document/create.md): Create a Document by uploading your file to Petal - [Delete Documents](https://docs.petal.org/openapi/document/delete.md): Permanently delete Documents and all their associated Annotations, comments, AI Sessions, etc. - [Get a Document](https://docs.petal.org/openapi/document/list_one.md): Fetch detailed information on a single Document by its unique ID - [List all Documents in an Organization](https://docs.petal.org/openapi/document/list_org.md): List all Documents within an Organization - [Petal API Reference](https://docs.petal.org/openapi/introduction.md): All our popular APIs, in detail - [AI Chats](https://docs.petal.org/usecases/ai_chat.md): Create AI chat Sessions and messages - [AI Tables](https://docs.petal.org/usecases/ai_table.md): Create AI Tables based on your Documents - [Document Creation](https://docs.petal.org/usecases/document.md): How to upload your file to Petal ## OpenAPI Specs - [openapi](https://docs.petal.org/openapi.json) ## Optional - [Contact us](mailto:help@petal.org)