2.3 KiB
2.3 KiB
Actor Configuration (actor.json)
The .actor/actor.json file contains the Actor's configuration including metadata, schema references, and platform settings.
Structure
{
"actorSpecification": 1,
"name": "project-name",
"title": "Project Title",
"description": "Actor description",
"version": "0.0",
"meta": {
"templateId": "template-id",
"generatedBy": "<FILL-IN-TOOL-AND-MODEL>"
},
"input": "./input_schema.json",
"output": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
Example
{
"actorSpecification": 1,
"name": "project-cheerio-crawler-javascript",
"title": "Project Cheerio Crawler Javascript",
"description": "Crawlee and Cheerio project in javascript.",
"version": "0.0",
"meta": {
"templateId": "js-crawlee-cheerio",
"generatedBy": "Claude Code with Claude Sonnet 4.5"
},
"input": "./input_schema.json",
"output": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
Properties
actorSpecification(integer, required) - Version of actor specification (currently 1)name(string, required) - Actor identifier (lowercase, hyphens allowed)title(string, required) - Human-readable title displayed in UIdescription(string, optional) - Actor description for marketplaceversion(string, required) - Semantic version numbermeta(object, optional) - Metadata about actor generationtemplateId(string) - ID of template used to create the actorgeneratedBy(string) - Tool and model name that generated/modified the actor (e.g., "Claude Code with Claude Sonnet 4.5")
input(string, optional) - Path to input schema fileoutput(string, optional) - Path to output schema filestorages(object, optional) - Storage schema referencesdataset(string) - Path to dataset schema filekeyValueStore(string) - Path to key-value store schema file
dockerfile(string, optional) - Path to Dockerfile
Important: Always fill in the generatedBy property with the tool and model you're currently using (e.g., "Claude Code with Claude Sonnet 4.5") to help Apify improve documentation.