|
2 | 2 | title: Overview |
3 | 3 | --- |
4 | 4 |
|
5 | | -Whether you're using the free Unstructured API, the SaaS Unstructured API, Unstructured API on Azure/AWS or your local |
6 | | -deployment of Unstructured API, you have several methods of accessing it. The functionality is the same across different methods. |
| 5 | +To process an individual file, you can choose from several available methods, including a direct `POST` request, Python code, and JavaScript/TypeScript code. |
| 6 | +Whether you're using the Free Unstructured API, the Unstructured Serverless API, the Unstructured API on Azure/AWS, or your local deployment of the Unstructured API, the functionality is the same. |
7 | 7 |
|
8 | 8 | Choose your preferred method: |
9 | 9 |
|
10 | | -* [Sending POST requests to Unstructured API](/api-reference/api-services/post-requests) |
11 | | -* [Using Python SDK](/api-reference/api-services/python-sdk) |
12 | | -* [Using JavaScript SDK](/api-reference/api-services/javascript-sdk) |
13 | | -* [Using API by calling `partition_via_api()` from Python code](/api-reference/api-services/partition-via-api) |
| 10 | +* [Use the Unstructured Python SDK](/api-reference/api-services/sdk-python) |
| 11 | +* [Use the Unstructured JavaScript/TypeScript SDK](/api-reference/api-services/sdk-jsts) |
| 12 | +* [Use the Unstructured open source Python library](/api-reference/api-services/partition-via-api) |
| 13 | +* [Make a direct POST request](/api-reference/api-services/post-requests) |
14 | 14 |
|
15 | 15 | The API parameters for all these methods are documented on the [API parameters](/api-reference/api-services/api-parameters) page. |
16 | 16 |
|
17 | | -If you'd like to try out the Unstructured API interactively, you can do so via the [Swagger UI](https://api.unstructured.io/general/docs#/default/pipeline_1_general_v0_general_post). |
18 | | -Make sure to have your API key on hand. |
| 17 | +import UseIngestInstead from '/snippets/general-shared-text/use-ingest-instead.mdx'; |
19 | 18 |
|
20 | | -1. Go to [Swagger UI](https://api.unstructured.io/general/docs#/default/pipeline_1_general_v0_general_post). |
21 | | -2. Click "Try it out" for interactive testing. |
22 | | -3. Enter your API key in the "unstructured-api-key" field. |
23 | | -4. Choose your parameters in the "Request body". |
24 | | -5. Click "execute" to send the request. |
25 | | -6. Download or view the JSON output. |
| 19 | +<UseIngestInstead /> |
| 20 | + |
| 21 | +If you'd like to try out the Unstructured API interactively by using the Free Unstructured API to process a single file, you can do so by using the [Swagger UI](https://api.unstructured.io/general/docs#/default/pipeline_1_general_v0_general_post). |
| 22 | + |
| 23 | +1. Go to the [Swagger UI](https://api.unstructured.io/general/docs#/default/pipeline_1_general_v0_general_post). |
| 24 | +2. For **Servers**, select **https://api.unstructured.io - Hosted API Free**. |
| 25 | +2. Click **Authorize**. |
| 26 | +3. In the **Available authorizations** dialog box, for **Value**, enter your Free Unstructured API key. [Get a Free Unstructured API key](/api-reference/api-services/free-api#get-an-api-key). |
| 27 | +4. Click **Authorize**. |
| 28 | +5. Click **Close**. |
| 29 | +6. Expand the **POST** section. |
| 30 | +7. In the **Request body** section, next to **files**, click **Choose File**. |
| 31 | +8. Browse to and select a file for the Free Unstructured API to process. |
| 32 | +9. Enter any other settings as desired. [Learn how](/api-reference/api-services/api-parameters). |
| 33 | +10. At the end of the list of settings, click **Execute**. |
| 34 | +11. See the results in the **Responses** section below the **Execute** button. |
0 commit comments