Connect to the Algorithmia API to host language-agnostic functions and algorithms via an API. Test an API call and export the code snippet into your app.
You can call each algorithm from the Algorithmia marketplace.
On the marketplace, you’ll find an owner (the user who created the algorithm), an algorithm name
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
owner | String | Algorithm owner |
algoname | String | Algorithm name |
data | JSON | Input for the algorithm. JSON object |
Check if directory or file exists without downloading it
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
name | String | File or directory |
List the contents of a directory
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | Directory (relative to the root of a given data source) |
acl | Boolean | Include the directory ACL in the response. (Default = false) |
Create a directory through the Algorithmia Data API
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | Directory (relative to the root of a given data source) |
name | String | Name of the directory to create |
Update a directory
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | Directory (relative to the root of a given data source) |
acl | JSON | JSON object specifying permissions of the directory |
[user://*]
: Readable by anyone (public)algo://.my/*
: Readable by your algorithms (default)Example: "acl": {"read": []}
implies the directory is fully private
Delete a directory
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | Directory (relative to the root of a given data source) |
force | Boolean | If true, enables recursive delete of a non-empty directory |
Get a file through the Algorithmia Data API
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | File path (relative to the root of a given data source) |
Upload a file through the Algorithmia Data API
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | Directory (relative to the root of a given data source) |
file | File | Uploaded file |
Delete a file through the Algorithmia Data API
Field | Type | Description |
---|---|---|
apiKey | credentials | The api key obtained from Algorithmia |
connector | Select | The data source: data,dropbox,s3 |
path | String | File path (relative to the root of a given data source) |