https://api.unstructuredapp.io
8080
).
curl
command example, replacing the following values:
<route>
with your route value.<target-port>
with your target port value.<path/to/local/file>
with the path to the local file that you want to process.<mime-type>
with the MIME type (for example, application/pdf
) of the local file that you want to process.OPENAI_API_KEY
for yourOPENAI_API_KEY
. For Value, enter your OpenAI API key.ANTHROPIC_API_KEY
.AWS_BEDROCK_ACCESS_KEY
, AWS_BEDROCK_SECRET_KEY
, and AWS_BEDROCK_REGION
.GOOGLE_VERTEX_AI_API_KEY
.UnstructuredClient
, you must specify the Unstructured API URL as https://<route>:<target-port>/general/v0/general
,
replacing <route>
with your route value and <target-port>
with your target port value.UnstructuredClient
, you do not specify an Unstructured API key.