Skip to main content
POST
Resolve Specs
Classify plant pot sizes and specifications using Growth Equivalent logic. Maps raw text labels to a stage of maturity (0-5) to determine if items are swappable.

Input Options

This endpoint accepts input in three ways:

1. JSON Body with Items Array

2. JSON Body with File URL (TUS Upload)

For files uploaded via TUS protocol:

3. Direct File Upload (Multipart)

Upload files directly without TUS - reduces round trips for Basic/Pro plans:

Request Body (JSON)

items
string[]
An array of raw plant specification strings to be resolved. Takes precedence over file inputs.
file_url
file
URL to a previously uploaded file (from TUS storage). Must be from secure.superseeded.ai or api.superseeded.ai.Tip: You can use the file input dialog in this playground to test with a local file.
filename
string
Optional filename hint for format detection when using file_url.
extraction_type
string
default:"pot_sizes"
What to extract from files: pot_sizes, species, or generic.

Form Fields (Multipart)

file
file
Direct file upload. Supported formats: JSON, XLSX, XLS, PDF, TXT, PNG, JPG, JPEG, GIF, WEBP.
extraction_type
string
default:"pot_sizes"
What to extract from the file.

Authentication

Basic/Pro plans can use direct API key authentication for all input methods including direct file upload. Teams plans with platform integration require a delegation token obtained via POST /v1/auth/delegate-upload. This ensures each request is attributed to the correct merchant for billing.

Supported File Formats

Authorizations

X-API-Key
string
header
required

Standard API Key authentication.

Body

Object containing a list of raw spec strings to be resolved, file reference, or direct file upload.

file
file

File to upload. Supported formats: JSON, XLSX, XLS, PDF, TXT, PNG, JPG, JPEG, GIF, WEBP.

extraction_type
enum<string>
default:pot_sizes

What to extract from the file.

Available options:
pot_sizes,
species,
generic

Response

Successful resolution with detailed hierarchy data.

results
object[]