Skip to content

Commit 7f0e55b

Browse files
authored
Account management: refactor and expand TOC to account for upcoming new account management pages (#544)
1 parent f88f1d0 commit 7f0e55b

File tree

7 files changed

+169
-27
lines changed

7 files changed

+169
-27
lines changed

examplecode/tools/mcp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Before you begin, you must have an Unstructured account and an Unstructured API
4545
If you choose a pay-per-page plan, after your first 14 days of usage or more than 1000 processed pages per day,
4646
whichever comes first, your account is then billed at Unstructured's standard service usage rates. To keep using the service,
4747
you must
48-
[provide Unstructured with your payment details](/ui/billing#add-view-or-change-pay-per-page-payment-details).
48+
[provide Unstructured with your payment details](/ui/account/billing#add-view-or-change-pay-per-page-payment-details).
4949

5050
To save money by switching from a pay-per-page to a subscribe-and-save plan, go to the
5151
[Unstructured Subscribe & Save](https://unstructured.io/subscribeandsave) page and complete the on-screen instructions.

mint.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,15 @@
234234
},
235235
"ui/workflows",
236236
"ui/jobs",
237-
"ui/billing"
237+
{
238+
"group": "Account",
239+
"pages": [
240+
"ui/account/overview",
241+
"ui/account/billing",
242+
"ui/account/usage",
243+
"ui/account/api-key-url"
244+
]
245+
}
238246
]
239247
},
240248
{
@@ -645,6 +653,10 @@
645653
{
646654
"source": "/platform-api/partition-api/:slug*",
647655
"destination": "/api-reference/partition/:slug*"
656+
},
657+
{
658+
"source": "/ui/billing",
659+
"destination": "/ui/account/billing"
648660
}
649661
],
650662
"analytics": {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<Note>
2+
If you signed up for Unstructured through the [For Enterprise](https://unstructured.io/enterprise) page, or if you are using a self-hosted deployment of Unstructured, the following information
3+
might apply differently to you. For details, contact Unstructured Sales at [[email protected]](mailto:[email protected]).
4+
</Note>

ui/account/api-key-url.mdx

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
title: Account API keys and API URLs
3+
sidebarTitle: API keys and URLs
4+
---
5+
6+
import EnterpriseSelfHostedDifferences from '/snippets/general-shared-text/enterprise-self-hosted-differences.mdx';
7+
8+
<EnterpriseSelfHostedDifferences />
9+
10+
An API key is a unique string of characters used to authenticate calls to an application programming interface (API).
11+
In Unstructured, API keys are used as a kind of password that allows code or scripts to call the
12+
[Unstructured API](/api-reference/overview) to automate an Unstructured account on behalf of an associated account user
13+
or other entity tied to the API key that is provided with each call. This API key also enables Unstructured to associate
14+
usage and billing information with the related Unstructured account.
15+
16+
You need an API key whenever you want to call the Unstructured API's
17+
[Unstructured Workflow Endpoint](/api-reference/workflow/overview) or
18+
[Unstructured Partition Endpoint](/api-reference/partition/overview).
19+
20+
You do not need an API key to use the [Unstructured user interface](/ui/overview) (UI) to create or manage connectors, workflows,
21+
or jobs in your Unstructured account, or to manage your Unstructured account.
22+
23+
## View available API keys
24+
25+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
26+
2. On the sidebar, click **API Keys**.
27+
3. Existing API keys are listed on the **API Keys** tab.
28+
29+
## Create a new API key
30+
31+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
32+
2. On the sidebar, click **API Keys**.
33+
3. On the **API Keys** tab, click **Generate New Key**.
34+
4. Enter some descriptive name for the API key, and then click **Save**.
35+
36+
The new API key is created and appears in the list of available API keys.
37+
38+
The only setting you can change for this new API key is its [status](#enable-or-disable-an-existing-api-key). You cannot change its
39+
name, value, or any other settings.
40+
41+
## Get an existing API key's value
42+
43+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
44+
2. On the sidebar, click **API Keys**.
45+
3. On the **API Keys** tab, in the list of available keys, click the **Copy** icon for the target key. The key's value is copied to your system's clipboard.
46+
47+
If you lose this API key's value, simply repeat this procedure.
48+
49+
If you are concerned that an unauthorized user or other entity might have this API key's value, you should [permanently delete](#permanently-delete-an-existing-api-key) this key.
50+
51+
## Enable or disable an existing API key
52+
53+
You might want to temporarily disable an existing API key that you suspect is causing some kind of issue or might be compromised in some way.
54+
However, you might want the option to re-enable it after you solve your issues or determine that it was not compromised.
55+
56+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
57+
2. On the sidebar, click **API Keys**.
58+
3. On the **API Keys** tab, in the list of available keys, switch the **Status** toggle on or off for the target API key to enable or disable that key, respectively.
59+
60+
## Permanently delete an existing API key
61+
62+
<Caution>
63+
Deleting an existing API key is a permanent operation. Deleted API keys cannot be recovered.
64+
65+
You cannot use a deleted API key to call the Unstructured APIs.
66+
</Caution>
67+
68+
You might want to permanently delete an existing API key that you know is causing issues or is compromised.
69+
70+
If you have any code or scripts that rely on the old, existing API key that you want to permanently delete, you should rotate the key first.
71+
To rotate an old, existing API key before you permanently delete it:
72+
73+
1. Create a new, replacement API key by following the steps in [Create a new API key](#create-a-new-api-key), earlier on this page.
74+
2. Update your code or scripts that rely on the old, existing API key's value that you want to permanently delete with the new, replacement API key's value.
75+
3. Delete the old, existing API key.
76+
77+
To permanently delete an existing API key:
78+
79+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
80+
2. On the sidebar, click **API Keys**.
81+
3. On the **API Keys** tab, in the list of available keys, click the **Options** vertical ellipsis for the target API key.
82+
4. Click **Delete**.
83+
5. Confirm that you want to permanently delete the API key by clicking **Continue**.
84+
85+
## View available API URLs
86+
87+
In some cases, you might need to specify a particular API URL to call one of the Unstructured API's available Endpoints. For more information, see the getting started instructions for the
88+
Unstructured API's [Unstructured Workflow Endpoint](/api-reference/workflow/overview) or
89+
[Unstructured Partition Endpoint](/api-reference/partition/overview).
90+
91+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
92+
2. On the sidebar, click **API Keys**.
93+
3. On the **API Keys** tab, the available API URLs are listed.
Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
---
2-
title: Billing
2+
title: Account billing
3+
sidebarTitle: Billing
34
---
45

56
To ensure that your Unstructured account has continued access to Unstructured, you must have one of the following plans in place with Unstructured:
67

78
- A [pay-per-page plan](https://unstructured.io/developers#get-started) with valid payment details provided.
89
- A [subscribe-and-save plan](https://unstructured.io/subscribeandsave) plan with a non-zero available budget.
10+
- An enterprise agreement with Unstructured initiated by signing up through the [For Enterprise](https://unstructured.io/enterprise) page.
911

10-
<Note>
11-
You can also enter into an [enterprise agreement](https://unstructured.io/enterprise) with Unstructured.
12-
For enterprise billing and usage details, contact Unstructured Sales at [[email protected]](mailto:[email protected]).
13-
</Note>
12+
import EnterpriseSelfHostedDifferences from '/snippets/general-shared-text/enterprise-self-hosted-differences.mdx';
13+
14+
<EnterpriseSelfHostedDifferences />
1415

1516
## Add, view, or change pay-per-page payment details
1617

1718
After you sign up for a [pay-per-page](https://unstructured.io/developers#get-started) plan,
1819
after your first 14 days of usage or more than 1000 processed pages per day, whichever comes first,
1920
you must provide Unstructured with your payment details to continue using the service.
2021

21-
<img src="https://unstructured-tech-docs.s3.amazonaws.com/Unstructured-Platform-Billing.gif" alt="Unstructured billing how-to" width="500" />
22-
2322
![Unstructured account settings](/img/ui/AccountSettings.png)
2423

2524
![Unstructured account payment method](/img/ui/AccountBillingPaymentMethod.png)
2625

26+
<img src="https://unstructured-tech-docs.s3.amazonaws.com/Unstructured-Platform-Billing.gif" alt="Unstructured billing how-to" width="500" />
27+
2728
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
2829
2. At the bottom of the sidebar, click your user icon, and then click **Account Settings**.
2930
3. Click the **Billing** tab.
@@ -35,12 +36,12 @@ Go to the [Unstructured Subscribe & Save](https://unstructured.io/subscribeandsa
3536

3637
## View pay-per-page billing details
3738

38-
<img src="https://unstructured-tech-docs.s3.amazonaws.com/Unstructured-Platform-Billing.gif" alt="Unstructured billing how-to" width="500" />
39-
4039
![Unstructured account settings](/img/ui/AccountSettings.png)
4140

4241
![Unstructured account pay-per-page billing](/img/ui/AccountBillingPayPerPage.png)
4342

43+
<img src="https://unstructured-tech-docs.s3.amazonaws.com/Unstructured-Platform-Billing.gif" alt="Unstructured billing how-to" width="500" />
44+
4445
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
4546
2. At the bottom of the sidebar, click your user icon, and then click **Account Settings**.
4647
3. Click the **Billing** tab. A billing overview for the current month and a list of your billing invoices are displayed.
@@ -59,24 +60,12 @@ Go to the [Unstructured Subscribe & Save](https://unstructured.io/subscribeandsa
5960

6061
Email Unstructured Sales at [[email protected]](mailto:[email protected]) directly with your request.
6162

62-
## View account usage details
63-
64-
To view usage details for your Unstructured account, do the following:
65-
66-
<img src="https://unstructured-tech-docs.s3.amazonaws.com/Unstructured-Platform-Billing.gif" alt="Unstructured billing how-to" width="500" />
67-
68-
![Unstructured account settings](/img/ui/AccountSettings.png)
69-
70-
![Unstructured account billing usage](/img/ui/AccountUsage.png)
71-
72-
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
73-
2. At the bottom of the sidebar, click your user icon, and then click **Account Settings**.
74-
3. Click the **Usage History** tab.
75-
76-
## How are usage and billing calculated?
63+
## How is billing calculated?
7764

7865
import SharedPagesBilling from '/snippets/general-shared-text/pages-billing.mdx';
7966

8067
<SharedPagesBilling />
8168

82-
The **Billing** tab shows your account's current billing rate per page.
69+
The **Billing** tab shows your account's current billing rate per page.
70+
71+
To complete usage-related tasks in your account, see [Account usage](/ui/account/usage).

ui/account/overview.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Accounts overview
3+
sidebarTitle: Overview
4+
---
5+
6+
import EnterpriseSelfHostedDifferences from '/snippets/general-shared-text/enterprise-self-hosted-differences.mdx';
7+
8+
<EnterpriseSelfHostedDifferences />
9+
10+
After you sign up for an Unstructured account, you can manage your account's [billing](/ui/account/billing) and
11+
get your account's [usage](/ui/account/usage) details.
12+
13+
You can also create and manage your account's [API keys](/ui/account/api-key-url)&mdash;and get any [API URLs](/ui/account/api-key-url) as
14+
needed&mdash;to work programmatically with your Unstructured account through the [Unstructured API](/api-reference/overview).

ui/account/usage.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Account usage
3+
sidebarTitle: Usage
4+
---
5+
6+
import EnterpriseSelfHostedDifferences from '/snippets/general-shared-text/enterprise-self-hosted-differences.mdx';
7+
8+
<EnterpriseSelfHostedDifferences />
9+
10+
To view usage details for your Unstructured account, do the following:
11+
12+
![Unstructured account settings](/img/ui/AccountSettings.png)
13+
14+
![Unstructured account billing usage](/img/ui/AccountUsage.png)
15+
16+
<img src="https://unstructured-tech-docs.s3.amazonaws.com/Unstructured-Platform-Billing.gif" alt="Unstructured billing how-to" width="500" />
17+
18+
1. Sign in to your Unstructured account, at [https://platform.unstructured.io](https://platform.unstructured.io).
19+
2. At the bottom of the sidebar, click your user icon, and then click **Account Settings**.
20+
3. Click the **Usage History** tab.
21+
22+
## How is usage calculated for billing purposes?
23+
24+
import SharedPagesBilling from '/snippets/general-shared-text/pages-billing.mdx';
25+
26+
<SharedPagesBilling />
27+
28+
The **Billing** tab shows your account's current billing rate per page.
29+
30+
To complete billing-related tasks in your account, see [Account billing](/ui/account/billing).

0 commit comments

Comments
 (0)