openaiFileIdRefs Not Auto-Populated in Action Call (createMap) – Publishing Fails

We are experiencing an issue when calling a custom Action (createMap) that requires openaiFileIdRefs.

Expected Behavior

According to the documentation:
https://developers.openai.com/api/docs/actions/sending-files

When providing a local file path (e.g. /mnt/data/output.html) in the Action call, the runtime should automatically transform it into a file reference object:

{
  "name": "...",
  "id": "...",
  "mime_type": "...",
  "download_link": "..."
}

This object should be injected into openaiFileIdRefs.


Actual Behavior

  1. When calling:
"openaiFileIdRefs": []

The API correctly fails schema validation:

[] should be non-empty

  1. When calling:
"openaiFileIdRefs": ["/mnt/data/output.html"]

The request fails with:

AssertionError

The runtime does not:

  • Auto-populate file metadata

  • Transform the local path into a file object

  • Inject the required name, id, mime_type, download_link


Environment Details

  • File exists in sandbox: /mnt/data/output.html

  • File ID is generated (visible in system logs)

  • Action schema requires:

openaiFileIdRefs: {
  type: "array",
  minItems: 1,
  items: {
    name: string,
    id: string,
    mime_type: string,
    download_link: string
  }
}

The Action cannot succeed because the runtime does not bind the file reference into the payload.


Summary

The publishing capability itself is functional, but:

  • File reference injection into openaiFileIdRefs is not working.

  • The runtime is not transforming sandbox paths into file objects as described in the documentation.

  • This blocks all file-based Action calls.

Please advise whether:

  • The transformation behavior has changed,

  • A different payload format is now required,

  • Or this is a regression in the Actions runtime.

1 Like

Hey @Eduard_Budacu

Appreciate you flagging this. We’re going to take a closer look and dig into what might be causing it. We’ll report back as soon as we know more.

3 Likes