pavelP
Apify & Crawlee4mo ago
5 replies
pavel

Output Schema

🖥️Platform
I am trying to add output schema for my actor as specified in https://docs.apify.com/platform/actors/development/actor-definition/output-schema

I created a new output_schema.json file and linked it in my actor.json

{
    "actorOutputSchemaVersion": 1,
    "title": "Scraper Results",
    "description": "Scraper Results",
    "properties": {
      "results": {
        "type": "string",
        "title": "Results",
        "template": "{{links.apiDefaultDatasetUrl}}/items"
      }
    }
}


Actor is published and running fine, but in Publication tab it still says "No dataset schema found".

Am I missing something?
Learn how to define and present output of your Actor.
Actor output schema | Platform | Apify Documentation
Solution
Output schema and dataset schema are two separate things. You want to implement this: https://docs.apify.com/platform/actors/development/actor-definition/dataset-schema?fpr=7p4wu
Learn how to define and present your dataset schema in an user-friendly output UI.
Dataset schema specification | Platform | Apify Documentation
Was this page helpful?